diff options
author | Georg Brandl <georg@python.org> | 2008-05-16 15:48:15 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-16 15:48:15 +0000 |
commit | ad9afeb8f02db9a13d2ed8e45361ecbc0d19bd32 (patch) | |
tree | 40cd28e4b9d339d38ac00792f37948fdef291cbf /Lib/idlelib/macosxSupport.py | |
parent | bbc57d73a0f0d1476d9c23b920ecc1ef8212a554 (diff) | |
download | cpython-git-ad9afeb8f02db9a13d2ed8e45361ecbc0d19bd32.tar.gz |
Tkinter rename, step 2: fix imports and add stub modules.
Diffstat (limited to 'Lib/idlelib/macosxSupport.py')
-rw-r--r-- | Lib/idlelib/macosxSupport.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/macosxSupport.py b/Lib/idlelib/macosxSupport.py index 222abfce75..c76381dc89 100644 --- a/Lib/idlelib/macosxSupport.py +++ b/Lib/idlelib/macosxSupport.py @@ -3,7 +3,7 @@ A number of function that enhance IDLE on MacOSX when it used as a normal GUI application (as opposed to an X11 application). """ import sys -import Tkinter +import tkinter def runningAsOSXApp(): """ Returns True iff running from the IDLE.app bundle on OSX """ @@ -26,7 +26,7 @@ def addOpenEventSupport(root, flist): def hideTkConsole(root): try: root.tk.call('console', 'hide') - except Tkinter.TclError: + except tkinter.TclError: # Some versions of the Tk framework don't have a console object pass @@ -46,7 +46,7 @@ def overrideRootMenu(root, flist): # # Due to a (mis-)feature of TkAqua the user will also see an empty Help # menu. - from Tkinter import Menu, Text, Text + from tkinter import Menu, Text, Text from EditorWindow import prepstr, get_accelerator import Bindings import WindowList |