diff options
Diffstat (limited to 'Tools/idle')
-rw-r--r-- | Tools/idle/ObjectBrowser.py | 3 | ||||
-rw-r--r-- | Tools/idle/TreeWidget.py | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/Tools/idle/ObjectBrowser.py b/Tools/idle/ObjectBrowser.py index b6bc81a..94b59d6 100644 --- a/Tools/idle/ObjectBrowser.py +++ b/Tools/idle/ObjectBrowser.py @@ -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() diff --git a/Tools/idle/TreeWidget.py b/Tools/idle/TreeWidget.py index b0706c9..21898ed 100644 --- a/Tools/idle/TreeWidget.py +++ b/Tools/idle/TreeWidget.py @@ -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() |