aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/future/moves/tkinter/dnd.py
diff options
context:
space:
mode:
Diffstat (limited to '.venv/lib/python3.12/site-packages/future/moves/tkinter/dnd.py')
-rw-r--r--.venv/lib/python3.12/site-packages/future/moves/tkinter/dnd.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/future/moves/tkinter/dnd.py b/.venv/lib/python3.12/site-packages/future/moves/tkinter/dnd.py
new file mode 100644
index 00000000..1ab43791
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/future/moves/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?')