From 1080d13a7da30df34de7862ea46525c2f19091c7 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Thu, 9 Jun 2016 21:09:15 -0400 Subject: Issue #24759: IDLE requires tk 8.5 and availability ttk widgets. Delete now unneeded tk version tests and code for older versions. --- Lib/idlelib/macosx.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Lib/idlelib/macosx.py') diff --git a/Lib/idlelib/macosx.py b/Lib/idlelib/macosx.py index 4e4dcd6ae72..b16e0523c01 100644 --- a/Lib/idlelib/macosx.py +++ b/Lib/idlelib/macosx.py @@ -199,12 +199,6 @@ def overrideRootMenu(root, flist): ('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....', '<>'), - ) if isCocoaTk(): # replace default About dialog with About IDLE one root.createcommand('tkAboutDialog', about_dialog) -- cgit v1.2.3