#7092: Fix additional "-3" warnings in the idlelib package, and convert to absolute imports.

This commit is contained in:
Florent Xicluna 2010-04-02 07:24:52 +00:00
parent f28dd0d1bf
commit d630c04ab1
37 changed files with 169 additions and 149 deletions

View file

@ -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)