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)
commitb638a38dc07dcc87c62eac5177b96824e2e8dfa2 (patch)
tree603ea9592ce7b6a26546692ecb219e53ec6e2499 /Lib/idlelib/PyShell.py
parent4221b7c7646ecf71425e7d3b46527d0faee8d613 (diff)
downloadcpython-b638a38dc07dcc87c62eac5177b96824e2e8dfa2.zip
cpython-b638a38dc07dcc87c62eac5177b96824e2e8dfa2.tar.gz
cpython-b638a38dc07dcc87c62eac5177b96824e2e8dfa2.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 0acfe4a..7a9a0bc 100644
--- a/Lib/idlelib/PyShell.py
+++ b/Lib/idlelib/PyShell.py
@@ -1278,7 +1278,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")