Merge pull request #2456 from cgohlke/patch-2

Fix import of tkinter/Tkinter
This commit is contained in:
wiredfool 2017-03-22 21:17:46 +00:00 committed by GitHub
commit 167b2fec72

View File

@ -25,12 +25,12 @@
# See the README file for information on usage and redistribution. # See the README file for information on usage and redistribution.
# #
try: import sys
if sys.version_info[0] > 2:
import tkinter import tkinter
except ImportError: else:
import Tkinter import Tkinter as tkinter
tkinter = Tkinter
del Tkinter
# required for pypy, which always has cffi installed # required for pypy, which always has cffi installed
try: try: