Issue #18425: Add docstrings to IdleHistory.py. Remove redundant 'history_'

prefix from two attributes and two methods of History class.
This commit is contained in:
Terry Jan Reedy 2013-08-13 19:51:04 -04:00
parent 7f7b941fdc
commit 0a01ac4300
2 changed files with 35 additions and 15 deletions

View file

@ -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")