summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/PathBrowser.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-08-02 20:40:20 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-08-02 20:40:20 (GMT)
commit4c6daf10372af41d4b48dd1ac65d737c64c2d41c (patch)
tree1c09beb9cb50131295da68818734d18e39b1941d /Lib/idlelib/PathBrowser.py
parentb55d36805566c092c11b8e38792c759742cd6a1f (diff)
downloadcpython-4c6daf10372af41d4b48dd1ac65d737c64c2d41c.zip
cpython-4c6daf10372af41d4b48dd1ac65d737c64c2d41c.tar.gz
cpython-4c6daf10372af41d4b48dd1ac65d737c64c2d41c.tar.bz2
Merged revisions 79576-79578 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79576 | florent.xicluna | 2010-04-02 10:24:52 +0300 (Fri, 02 Apr 2010) | 2 lines #7092: Fix additional "-3" warnings in the idlelib package, and convert to absolute imports. ........ r79577 | florent.xicluna | 2010-04-02 11:15:26 +0300 (Fri, 02 Apr 2010) | 2 lines #7092: Drop the cmp argument. ........ r79578 | florent.xicluna | 2010-04-02 11:30:21 +0300 (Fri, 02 Apr 2010) | 2 lines #7092: silence some py3k warnings ........
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 86cd270..6b2c071 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()