summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/StackViewer.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-17 18:39:55 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-17 18:39:55 (GMT)
commit14fc4270da5db43574d46d055a5f794ed33b271f (patch)
tree3d937a96350b067c7dcee6425fe14617dd8b9ef5 /Lib/idlelib/StackViewer.py
parent330231238327558337b9d8dbabe3a3b02641501d (diff)
downloadcpython-14fc4270da5db43574d46d055a5f794ed33b271f.zip
cpython-14fc4270da5db43574d46d055a5f794ed33b271f.tar.gz
cpython-14fc4270da5db43574d46d055a5f794ed33b271f.tar.bz2
Tkinter, step 2: adapt imports.
Diffstat (limited to 'Lib/idlelib/StackViewer.py')
-rw-r--r--Lib/idlelib/StackViewer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/StackViewer.py b/Lib/idlelib/StackViewer.py
index 9ca1ff5..4ef2d31 100644
--- a/Lib/idlelib/StackViewer.py
+++ b/Lib/idlelib/StackViewer.py
@@ -7,7 +7,7 @@ from idlelib.ObjectBrowser import ObjectTreeItem, make_objecttreeitem
def StackBrowser(root, flist=None, tb=None, top=None):
if top is None:
- from Tkinter import Toplevel
+ from tkinter import Toplevel
top = Toplevel(root)
sc = ScrolledCanvas(top, bg="white", highlightthickness=0)
sc.frame.pack(expand=1, fill="both")