mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Remove dead code
M IdleHistory.py M PyShell.py
This commit is contained in:
parent
188d4366be
commit
8fa7eb563b
2 changed files with 8 additions and 20 deletions
|
@ -86,11 +86,3 @@ class History:
|
|||
self.history.append(source)
|
||||
self.history_pointer = None
|
||||
self.history_prefix = None
|
||||
|
||||
def recall(self, s):
|
||||
s = s.strip()
|
||||
self.text.tag_remove("sel", "1.0", "end")
|
||||
self.text.delete("iomark", "end-1c")
|
||||
self.text.mark_set("insert", "end-1c")
|
||||
self.text.insert("insert", s)
|
||||
self.text.see("insert")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue