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