summaryrefslogtreecommitdiff
path: root/Tools/idle/FileList.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-12-18 15:52:54 +0000
committerGuido van Rossum <guido@python.org>1998-12-18 15:52:54 +0000
commit654387efbd9ba363a1911e493a8477f15608e1a0 (patch)
tree32b92283ef94394fa163cd074df4fb67993886aa /Tools/idle/FileList.py
parent060f24ce972f7f1ee3cf6f3444c09dd4869fa186 (diff)
downloadcpython-git-654387efbd9ba363a1911e493a8477f15608e1a0.tar.gz
Fix the class browser to work even when the file is not on sys.path.
Diffstat (limited to 'Tools/idle/FileList.py')
-rw-r--r--Tools/idle/FileList.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/idle/FileList.py b/Tools/idle/FileList.py
index bebf74271e..d9378e3cd2 100644
--- a/Tools/idle/FileList.py
+++ b/Tools/idle/FileList.py
@@ -76,7 +76,7 @@ class MultiEditorWindow(EditorWindow):
if pyclbr._modules.has_key(base):
del pyclbr._modules[base]
import ClassBrowser
- ClassBrowser.ClassBrowser(self.flist, base)
+ ClassBrowser.ClassBrowser(self.flist, base, [head])
class FileList: