Skip to content

Commit

Permalink
remove python2 import statement
Browse files Browse the repository at this point in the history
  • Loading branch information
srinivasreddy committed Jan 5, 2017
1 parent af798bd commit 2fb521c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions examples/IPython Kernel/gui/gui-tk.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
In [6]: %run gui-tk.py
"""

try:
from tkinter import * # Python 3
except ImportError:
from Tkinter import * # Python 2
from tkinter import *


class MyApp:

Expand Down

0 comments on commit 2fb521c

Please sign in to comment.