diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2010-04-02 07:24:52 (GMT) |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2010-04-02 07:24:52 (GMT) |
commit | d630c04ab1ab35e2ec6eeeaba9bdcb9f8e730e78 (patch) | |
tree | f3dbe58315387ba5b3c26e7ed37d37b5ebf3d711 /Lib/idlelib/PathBrowser.py | |
parent | f28dd0d1bfd85e5285894bfac54f6668d7217210 (diff) | |
download | cpython-d630c04ab1ab35e2ec6eeeaba9bdcb9f8e730e78.zip cpython-d630c04ab1ab35e2ec6eeeaba9bdcb9f8e730e78.tar.gz cpython-d630c04ab1ab35e2ec6eeeaba9bdcb9f8e730e78.tar.bz2 |
#7092: Fix additional "-3" warnings in the idlelib package, and convert to absolute imports.
Diffstat (limited to 'Lib/idlelib/PathBrowser.py')
-rw-r--r-- | Lib/idlelib/PathBrowser.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/PathBrowser.py b/Lib/idlelib/PathBrowser.py index 8c73587..d88a48e 100644 --- a/Lib/idlelib/PathBrowser.py +++ b/Lib/idlelib/PathBrowser.py @@ -2,8 +2,8 @@ import os import sys import imp -from TreeWidget import TreeItem -from ClassBrowser import ClassBrowser, ModuleBrowserTreeItem +from idlelib.TreeWidget import TreeItem +from idlelib.ClassBrowser import ClassBrowser, ModuleBrowserTreeItem class PathBrowser(ClassBrowser): @@ -86,7 +86,7 @@ class DirBrowserTreeItem(TreeItem): return sorted def main(): - import PyShell + from idlelib import PyShell PathBrowser(PyShell.flist) if sys.stdin is sys.__stdin__: mainloop() |