mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
bpo-35770: Fix off-by-1 error. (#11618)
This commit is contained in:
@@ -178,7 +178,7 @@ def overrideRootMenu(root, flist):
|
||||
del mainmenu.menudefs[-1][1][0:2]
|
||||
# Remove the 'Configure Idle' entry from the options menu, it is in the
|
||||
# application menu as 'Preferences'
|
||||
del mainmenu.menudefs[-3][1][0:1]
|
||||
del mainmenu.menudefs[-3][1][0:2]
|
||||
menubar = Menu(root)
|
||||
root.configure(menu=menubar)
|
||||
menudict = {}
|
||||
|
||||
Reference in New Issue
Block a user