summaryrefslogtreecommitdiff
path: root/Lib/idlelib/MultiCall.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-16 15:48:15 +0000
committerGeorg Brandl <georg@python.org>2008-05-16 15:48:15 +0000
commitad9afeb8f02db9a13d2ed8e45361ecbc0d19bd32 (patch)
tree40cd28e4b9d339d38ac00792f37948fdef291cbf /Lib/idlelib/MultiCall.py
parentbbc57d73a0f0d1476d9c23b920ecc1ef8212a554 (diff)
downloadcpython-git-ad9afeb8f02db9a13d2ed8e45361ecbc0d19bd32.tar.gz
Tkinter rename, step 2: fix imports and add stub modules.
Diffstat (limited to 'Lib/idlelib/MultiCall.py')
-rw-r--r--Lib/idlelib/MultiCall.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/idlelib/MultiCall.py b/Lib/idlelib/MultiCall.py
index 51de6390aa..269ab3f547 100644
--- a/Lib/idlelib/MultiCall.py
+++ b/Lib/idlelib/MultiCall.py
@@ -32,7 +32,7 @@ Each function will be called at most once for each event.
import sys
import string
import re
-import Tkinter
+import tkinter
# the event type constants, which define the meaning of mc_type
MC_KEYPRESS=0; MC_KEYRELEASE=1; MC_BUTTONPRESS=2; MC_BUTTONRELEASE=3;
@@ -292,7 +292,7 @@ def MultiCallCreator(widget):
return _multicall_dict[widget]
class MultiCall (widget):
- assert issubclass(widget, Tkinter.Misc)
+ assert issubclass(widget, tkinter.Misc)
def __init__(self, *args, **kwargs):
apply(widget.__init__, (self,)+args, kwargs)
@@ -382,8 +382,8 @@ def MultiCallCreator(widget):
if __name__ == "__main__":
# Test
- root = Tkinter.Tk()
- text = MultiCallCreator(Tkinter.Text)(root)
+ root = tkinter.Tk()
+ text = MultiCallCreator(tkinter.Text)(root)
text.pack()
def bindseq(seq, n=[0]):
def handler(event):