Show More
@@ -40,13 +40,8 b' will fix it for Tk.)' | |||||
40 | """ |
|
40 | """ | |
41 | import time |
|
41 | import time | |
42 |
|
42 | |||
43 | from IPython.utils.py3compat import PY3 |
|
|||
44 |
|
||||
45 | import _tkinter |
|
43 | import _tkinter | |
46 | if PY3: |
|
44 | import tkinter | |
47 | import tkinter |
|
|||
48 | else: |
|
|||
49 | import Tkinter as tkinter # Python 2 |
|
|||
50 |
|
45 | |||
51 | def inputhook(inputhook_context): |
|
46 | def inputhook(inputhook_context): | |
52 | """ |
|
47 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now