summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/run.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-16 15:48:15 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-16 15:48:15 (GMT)
commitad9afeb8f02db9a13d2ed8e45361ecbc0d19bd32 (patch)
tree40cd28e4b9d339d38ac00792f37948fdef291cbf /Lib/idlelib/run.py
parentbbc57d73a0f0d1476d9c23b920ecc1ef8212a554 (diff)
downloadcpython-ad9afeb8f02db9a13d2ed8e45361ecbc0d19bd32.zip
cpython-ad9afeb8f02db9a13d2ed8e45361ecbc0d19bd32.tar.gz
cpython-ad9afeb8f02db9a13d2ed8e45361ecbc0d19bd32.tar.bz2
Tkinter rename, step 2: fix imports and add stub modules.
Diffstat (limited to 'Lib/idlelib/run.py')
-rw-r--r--Lib/idlelib/run.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py
index 8abbe50..18ddca7 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[0] == 61: # connection refused
msg = "IDLE's subprocess can't connect to %s:%d. This may be due "\