summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/FixTk.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib-tk/FixTk.py')
-rw-r--r--Lib/lib-tk/FixTk.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/lib-tk/FixTk.py b/Lib/lib-tk/FixTk.py
new file mode 100644
index 0000000..d19605a
--- /dev/null
+++ b/Lib/lib-tk/FixTk.py
@@ -0,0 +1,8 @@
+import sys
+from warnings import warnpy3k
+
+warnpy3k("the FixTk module has been renamed "
+ "to 'tkinter._fix' in Python 3.0", stacklevel=2)
+
+import tkinter._fix
+sys.modules[__name__] = tkinter._fix