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