mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
Tkinter, step 2: adapt imports.
This commit is contained in:
parent
3302312383
commit
14fc4270da
50 changed files with 136 additions and 133 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue