summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/UndoDelegator.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/UndoDelegator.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/UndoDelegator.py')
-rw-r--r--Lib/idlelib/UndoDelegator.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/idlelib/UndoDelegator.py b/Lib/idlelib/UndoDelegator.py
index 5896bd5..16d3ae1 100644
--- a/Lib/idlelib/UndoDelegator.py
+++ b/Lib/idlelib/UndoDelegator.py
@@ -1,6 +1,7 @@
import string
from Tkinter import *
-from Delegator import Delegator
+
+from idlelib.Delegator import Delegator
#$ event <<redo>>
#$ win <Control-y>
@@ -336,7 +337,7 @@ class CommandSequence(Command):
return self.depth
def main():
- from Percolator import Percolator
+ from idlelib.Percolator import Percolator
root = Tk()
root.wm_protocol("WM_DELETE_WINDOW", root.quit)
text = Text()