diff options
author | Georg Brandl <georg@python.org> | 2008-05-17 18:39:55 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-17 18:39:55 (GMT) |
commit | 14fc4270da5db43574d46d055a5f794ed33b271f (patch) | |
tree | 3d937a96350b067c7dcee6425fe14617dd8b9ef5 /Lib/idlelib/run.py | |
parent | 330231238327558337b9d8dbabe3a3b02641501d (diff) | |
download | cpython-14fc4270da5db43574d46d055a5f794ed33b271f.zip cpython-14fc4270da5db43574d46d055a5f794ed33b271f.tar.gz cpython-14fc4270da5db43574d46d055a5f794ed33b271f.tar.bz2 |
Tkinter, step 2: adapt imports.
Diffstat (limited to 'Lib/idlelib/run.py')
-rw-r--r-- | Lib/idlelib/run.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py index b731310..355f853 100644 --- a/Lib/idlelib/run.py +++ b/Lib/idlelib/run.py @@ -127,9 +127,9 @@ def manage_socket(address): server.handle_request() # A single request only def show_socket_error(err, address): - import Tkinter - import tkMessageBox - root = Tkinter.Tk() + import tkinter + import tkinter.messagebox as tkMessageBox + root = tkinter.Tk() root.withdraw() if err.args[0] == 61: # connection refused msg = "IDLE's subprocess can't connect to %s:%d. This may be due "\ |