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