diff options
Diffstat (limited to 'Python/Dependencies/future-0.18.2/src/tkinter/dnd.py')
| -rw-r--r-- | Python/Dependencies/future-0.18.2/src/tkinter/dnd.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Python/Dependencies/future-0.18.2/src/tkinter/dnd.py b/Python/Dependencies/future-0.18.2/src/tkinter/dnd.py new file mode 100644 index 0000000..1ab4379 --- /dev/null +++ b/Python/Dependencies/future-0.18.2/src/tkinter/dnd.py @@ -0,0 +1,12 @@ +from __future__ import absolute_import + +from future.utils import PY3 + +if PY3: + from tkinter.dnd import * +else: + try: + from Tkdnd import * + except ImportError: + raise ImportError('The Tkdnd module is missing. Does your Py2 ' + 'installation include tkinter?') |
