summaryrefslogtreecommitdiffstats
path: root/FOSS/Python/Dependencies/future-0.18.2/src/tkinter/dnd.py
blob: 1ab437917d9e2cb0253846f6023031fea821adcd (plain)
1
2
3
4
5
6
7
8
9
10
11
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?')