summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/PathBrowser.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-04-02 07:24:52 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-04-02 07:24:52 (GMT)
commitd630c04ab1ab35e2ec6eeeaba9bdcb9f8e730e78 (patch)
treef3dbe58315387ba5b3c26e7ed37d37b5ebf3d711 /Lib/idlelib/PathBrowser.py
parentf28dd0d1bfd85e5285894bfac54f6668d7217210 (diff)
downloadcpython-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.py6
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()