summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/IdleHistory.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2005-06-21 02:42:17 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2005-06-21 02:42:17 (GMT)
commit8fa7eb563bb9a14651bcdc8ee60c5e45302c2f59 (patch)
treee58775fad7894946709d487cffe7346ca890b224 /Lib/idlelib/IdleHistory.py
parent188d4366bed88bbca777c05e7f1a5cb3878ff335 (diff)
downloadcpython-8fa7eb563bb9a14651bcdc8ee60c5e45302c2f59.zip
cpython-8fa7eb563bb9a14651bcdc8ee60c5e45302c2f59.tar.gz
cpython-8fa7eb563bb9a14651bcdc8ee60c5e45302c2f59.tar.bz2
Remove dead code
M IdleHistory.py M PyShell.py
Diffstat (limited to 'Lib/idlelib/IdleHistory.py')
-rw-r--r--Lib/idlelib/IdleHistory.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/idlelib/IdleHistory.py b/Lib/idlelib/IdleHistory.py
index f672db7..960242f 100644
--- a/Lib/idlelib/IdleHistory.py
+++ b/Lib/idlelib/IdleHistory.py
@@ -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")