summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/Tix.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-16 15:48:15 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-16 15:48:15 (GMT)
commitad9afeb8f02db9a13d2ed8e45361ecbc0d19bd32 (patch)
tree40cd28e4b9d339d38ac00792f37948fdef291cbf /Lib/lib-tk/Tix.py
parentbbc57d73a0f0d1476d9c23b920ecc1ef8212a554 (diff)
downloadcpython-ad9afeb8f02db9a13d2ed8e45361ecbc0d19bd32.zip
cpython-ad9afeb8f02db9a13d2ed8e45361ecbc0d19bd32.tar.gz
cpython-ad9afeb8f02db9a13d2ed8e45361ecbc0d19bd32.tar.bz2
Tkinter rename, step 2: fix imports and add stub modules.
Diffstat (limited to 'Lib/lib-tk/Tix.py')
-rw-r--r--Lib/lib-tk/Tix.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/lib-tk/Tix.py b/Lib/lib-tk/Tix.py
new file mode 100644
index 0000000..77d3df0
--- /dev/null
+++ b/Lib/lib-tk/Tix.py
@@ -0,0 +1,8 @@
+import sys
+from warnings import warnpy3k
+
+warnpy3k("the Tix module has been renamed "
+ "to 'tkinter.tix' in Python 3.0", stacklevel=2)
+
+import tkinter.tix
+sys.modules[__name__] = tkinter.tix