diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-05-26 18:44:48 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2009-05-26 18:44:48 (GMT) |
commit | 55d8828f982d4b03ef25db61cf0b8b50f1d1cf76 (patch) | |
tree | ce93113370488924ef12d2dee34b29685bf92743 /Lib/idlelib | |
parent | aafa18aa057cff3e47914c962437c922ece87beb (diff) | |
download | cpython-55d8828f982d4b03ef25db61cf0b8b50f1d1cf76.zip cpython-55d8828f982d4b03ef25db61cf0b8b50f1d1cf76.tar.gz cpython-55d8828f982d4b03ef25db61cf0b8b50f1d1cf76.tar.bz2 |
Fixes issue 6110
Diffstat (limited to 'Lib/idlelib')
-rw-r--r-- | Lib/idlelib/macosxSupport.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/macosxSupport.py b/Lib/idlelib/macosxSupport.py index 98b35b6..bf472c2 100644 --- a/Lib/idlelib/macosxSupport.py +++ b/Lib/idlelib/macosxSupport.py @@ -82,6 +82,7 @@ def overrideRootMenu(root, flist): def config_dialog(event=None): import configDialog + root.instance_dict = flist.inversedict configDialog.ConfigDialog(root, 'Settings') @@ -95,7 +96,7 @@ def overrideRootMenu(root, flist): tkversion = root.tk.eval('info patchlevel') # Note: we cannot check if the string tkversion >= '8.4.14', because # the string '8.4.7' is greater than the string '8.4.14'. - if map(int, tkversion.split('.')) >= (8, 4, 14): + if tuple(map(int, tkversion.split('.'))) >= (8, 4, 14): Bindings.menudefs[0] = ('application', [ ('About IDLE', '<<about-idle>>'), None, |