diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2016-06-10 01:09:15 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2016-06-10 01:09:15 (GMT) |
commit | 1080d13a7da30df34de7862ea46525c2f19091c7 (patch) | |
tree | 3af70dcfb4ec7b735b79f03ac10e4c1783666894 /Lib/idlelib/macosx.py | |
parent | 82ae15597f1af7a0121ebf49e749dda673d4e3d6 (diff) | |
download | cpython-1080d13a7da30df34de7862ea46525c2f19091c7.zip cpython-1080d13a7da30df34de7862ea46525c2f19091c7.tar.gz cpython-1080d13a7da30df34de7862ea46525c2f19091c7.tar.bz2 |
Issue #24759: IDLE requires tk 8.5 and availability ttk widgets.
Delete now unneeded tk version tests and code for older versions.
Diffstat (limited to 'Lib/idlelib/macosx.py')
-rw-r--r-- | Lib/idlelib/macosx.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/idlelib/macosx.py b/Lib/idlelib/macosx.py index 4e4dcd6..b16e052 100644 --- a/Lib/idlelib/macosx.py +++ b/Lib/idlelib/macosx.py @@ -199,12 +199,6 @@ def overrideRootMenu(root, flist): ('About IDLE', '<<about-idle>>'), None, ])) - tkversion = root.tk.eval('info patchlevel') - if tuple(map(int, tkversion.split('.'))) < (8, 4, 14): - # for earlier AquaTk versions, supply a Preferences menu item - mainmenu.menudefs[0][1].append( - ('_Preferences....', '<<open-config-dialog>>'), - ) if isCocoaTk(): # replace default About dialog with About IDLE one root.createcommand('tkAboutDialog', about_dialog) |