summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/PyShell.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-08-13 23:51:04 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2013-08-13 23:51:04 (GMT)
commit0a01ac4300ff3831d63fc065eb9bac7767bfd8dc (patch)
tree5f53219465b95d4ab8a789438f633f7093ce3716 /Lib/idlelib/PyShell.py
parent7f7b941fdcdfe28f3cd37e84bc5d7a298385b451 (diff)
downloadcpython-0a01ac4300ff3831d63fc065eb9bac7767bfd8dc.zip
cpython-0a01ac4300ff3831d63fc065eb9bac7767bfd8dc.tar.gz
cpython-0a01ac4300ff3831d63fc065eb9bac7767bfd8dc.tar.bz2
Issue #18425: Add docstrings to IdleHistory.py. Remove redundant 'history_'
prefix from two attributes and two methods of History class.
Diffstat (limited to 'Lib/idlelib/PyShell.py')
-rw-r--r--Lib/idlelib/PyShell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
index b894462..b2a1f58 100644
--- a/Lib/idlelib/PyShell.py
+++ b/Lib/idlelib/PyShell.py
@@ -1261,7 +1261,7 @@ class PyShell(OutputWindow):
def resetoutput(self):
source = self.text.get("iomark", "end-1c")
if self.history:
- self.history.history_store(source)
+ self.history.store(source)
if self.text.get("end-2c") != "\n":
self.text.insert("end-1c", "\n")
self.text.mark_set("iomark", "end-1c")