diff options
author | Georg Brandl <georg@python.org> | 2008-05-20 07:13:37 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-20 07:13:37 +0000 |
commit | 6634bf2919d855ccd821e878b8cc00c7209f1cbe (patch) | |
tree | 77ef2dfaaf00ec144e75ac19708e4dd457604ebc /Lib/idlelib/macosxSupport.py | |
parent | 33cece05b918dff706a4298e33f84d8e8a0391d2 (diff) | |
download | cpython-git-6634bf2919d855ccd821e878b8cc00c7209f1cbe.tar.gz |
Tkinter rename reversal: remove tkinter package, adapt imports and docs.
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 c76381dc89..222abfce75 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 |