From d630c04ab1ab35e2ec6eeeaba9bdcb9f8e730e78 Mon Sep 17 00:00:00 2001 From: Florent Xicluna Date: Fri, 2 Apr 2010 07:24:52 +0000 Subject: #7092: Fix additional "-3" warnings in the idlelib package, and convert to absolute imports. --- Lib/idlelib/FileList.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Lib/idlelib/FileList.py') 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) -- cgit v1.2.1