We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d3f5f4 commit 423dd96Copy full SHA for 423dd96
src/future/moves/tkinter/__init__.py
@@ -1,6 +1,8 @@
1
from __future__ import absolute_import
2
from future.utils import PY3
3
+__future_module__ = True
4
5
if not PY3:
- __future_module__ = True
6
-
+ from Tkinter import *
7
+else:
8
+ from tkinter import *
src/tkinter/__init__.py
@@ -3,6 +3,6 @@
__future_module__ = True
if sys.version_info[0] < 3:
- from Tk import *
else:
raise ImportError('Cannot import module from python-future source folder')
0 commit comments