From 2fb521c3341c73b36f2ba55555671618b88663fe 2017-01-05 14:33:09 From: Srinivas Reddy Thatiparthy Date: 2017-01-05 14:33:09 Subject: [PATCH] remove python2 import statement --- diff --git a/examples/IPython Kernel/gui/gui-tk.py b/examples/IPython Kernel/gui/gui-tk.py index a83bff0..89caf3e 100755 --- a/examples/IPython Kernel/gui/gui-tk.py +++ b/examples/IPython Kernel/gui/gui-tk.py @@ -8,10 +8,8 @@ In [5]: %gui tk In [6]: %run gui-tk.py """ -try: - from tkinter import * # Python 3 -except ImportError: - from Tkinter import * # Python 2 +from tkinter import * + class MyApp: