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