summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/window.py
diff options
context:
space:
mode:
authorCheryl Sabella <cheryl.sabella@gmail.com>2019-01-06 20:55:52 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2019-01-06 20:55:52 (GMT)
commit11303dd6035a7d7f78025ce5a3e3b9bdf7380c9a (patch)
tree75c9d14a390e33c10f120df741cff90d3177f179 /Lib/idlelib/window.py
parent83da926b89daf80013ea966037c2c0e1e9d25c6b (diff)
downloadcpython-11303dd6035a7d7f78025ce5a3e3b9bdf7380c9a.zip
cpython-11303dd6035a7d7f78025ce5a3e3b9bdf7380c9a.tar.gz
cpython-11303dd6035a7d7f78025ce5a3e3b9bdf7380c9a.tar.bz2
bpo-35660: Fix imports in idlelib.window (#11434)
* bpo-35660: IDLE: Remove * import from window.py * sys was being imported through the *, so also added an import sys. * Update 2019-01-04-19-14-29.bpo-35660.hMxI7N.rst Anyone who wants details can check the issue, where I added the point about the sys import bug.
Diffstat (limited to 'Lib/idlelib/window.py')
-rw-r--r--Lib/idlelib/window.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/window.py b/Lib/idlelib/window.py
index b2488b2..460d5b6 100644
--- a/Lib/idlelib/window.py
+++ b/Lib/idlelib/window.py
@@ -1,4 +1,5 @@
-from tkinter import *
+from tkinter import Toplevel, TclError
+import sys
class WindowList: