]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove unnecessary reference to pyclbr from test() code.
authorGuido van Rossum <guido@python.org>
Mon, 7 Jun 1999 15:38:40 +0000 (15:38 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 7 Jun 1999 15:38:40 +0000 (15:38 +0000)
Tools/idle/ObjectBrowser.py
Tools/idle/TreeWidget.py

index b6bc81a3a5ffac63743a21312e45ab903ec81207..94b59d67f0adaf2f27d007e5f978c83df7886fb0 100644 (file)
@@ -137,15 +137,12 @@ def make_objecttreeitem(labeltext, object, setfunction=None):
 def test():
     import sys
     from Tkinter import Toplevel
-    import pyclbr
     import PyShell
-    pyclbr._modules.clear()
     root = Toplevel(PyShell.root)
     root.configure(bd=0, bg="yellow")
     root.focus_set()
     sc = ScrolledCanvas(root, bg="white", highlightthickness=0, takefocus=1)
     sc.frame.pack(expand=1, fill="both")
-    #item = FileTreeItem("C:/windows/desktop")
     item = make_objecttreeitem("sys", sys)
     node = TreeNode(sc.canvas, None, item)
     node.expand()
index b0706c960774848d5e1b915e6baaa02a69ba6a28..21898ed8b21ddc5be59ed983df099124523dbc2d 100644 (file)
@@ -436,8 +436,6 @@ class ScrolledCanvas:
 
 def test():
     import PyShell
-    import pyclbr
-    pyclbr._modules.clear()
     root = Toplevel(PyShell.root)
     root.configure(bd=0, bg="yellow")
     root.focus_set()