diff options
author | Ned Deily <nad@acm.org> | 2012-05-29 17:51:38 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2012-05-29 17:51:38 (GMT) |
commit | 01d63a6e06103c491aeccb0d8546323b09187406 (patch) | |
tree | 93e6a2941fdb090d3b562ca4d0b977a1e7a92737 /Lib/idlelib | |
parent | d0c869561779a9c928182a69c75ab82c41a8feb6 (diff) | |
parent | 3aee9416a0ef4ce385b655cb20c8ec31b839302f (diff) | |
download | cpython-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.py | 2 |
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 |