summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2012-05-29 17:51:38 (GMT)
committerNed Deily <nad@acm.org>2012-05-29 17:51:38 (GMT)
commit01d63a6e06103c491aeccb0d8546323b09187406 (patch)
tree93e6a2941fdb090d3b562ca4d0b977a1e7a92737 /Lib/idlelib
parentd0c869561779a9c928182a69c75ab82c41a8feb6 (diff)
parent3aee9416a0ef4ce385b655cb20c8ec31b839302f (diff)
downloadcpython-01d63a6e06103c491aeccb0d8546323b09187406.zip
cpython-01d63a6e06103c491aeccb0d8546323b09187406.tar.gz
cpython-01d63a6e06103c491aeccb0d8546323b09187406.tar.bz2
Issue #10997: merge from 3.2
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/EditorWindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index 344f35d..6bdcecc 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -860,7 +860,7 @@ class EditorWindow(object):
# for each edit window instance, construct the recent files menu
for instance in self.top.instance_dict:
menu = instance.recent_files_menu
- menu.delete(1, END) # clear, and rebuild:
+ menu.delete(0, END) # clear, and rebuild:
for i, file_name in enumerate(rf_list):
file_name = file_name.rstrip() # zap \n
# make unicode string to display non-ASCII chars correctly