diff options
| author | Florent Xicluna <florent.xicluna@gmail.com> | 2010-04-02 07:24:52 +0000 |
|---|---|---|
| committer | Florent Xicluna <florent.xicluna@gmail.com> | 2010-04-02 07:24:52 +0000 |
| commit | d630c04ab1ab35e2ec6eeeaba9bdcb9f8e730e78 (patch) | |
| tree | f3dbe58315387ba5b3c26e7ed37d37b5ebf3d711 /Lib/idlelib/FileList.py | |
| parent | f28dd0d1bfd85e5285894bfac54f6668d7217210 (diff) | |
| download | cpython-git-d630c04ab1ab35e2ec6eeeaba9bdcb9f8e730e78.tar.gz | |
#7092: Fix additional "-3" warnings in the idlelib package, and convert to absolute imports.
Diffstat (limited to 'Lib/idlelib/FileList.py')
| -rw-r--r-- | Lib/idlelib/FileList.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/FileList.py b/Lib/idlelib/FileList.py index d69b0e3924..475cd3d301 100644 --- a/Lib/idlelib/FileList.py +++ b/Lib/idlelib/FileList.py @@ -5,8 +5,8 @@ import tkMessageBox class FileList: - from EditorWindow import EditorWindow # class variable, may be overridden - # e.g. by PyShellFileList + # N.B. this import overridden in PyShellFileList. + from idlelib.EditorWindow import EditorWindow def __init__(self, root): self.root = root @@ -106,7 +106,7 @@ class FileList: def _test(): - from EditorWindow import fixwordbreaks + from idlelib.EditorWindow import fixwordbreaks import sys root = Tk() fixwordbreaks(root) |
