summaryrefslogtreecommitdiffstats
path: root/Tools/idle/ObjectBrowser.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/idle/ObjectBrowser.py')
-rw-r--r--Tools/idle/ObjectBrowser.py3
1 files changed, 0 insertions, 3 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()