Skip to content

Commit be37dbf

Browse files
bpo-35660: Fix imports in idlelib.window (GH-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. (cherry picked from commit 11303dd) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
1 parent 902196d commit be37dbf

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Lib/idlelib/window.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
from tkinter import *
1+
from tkinter import Toplevel, TclError
2+
import sys
23

34

45
class WindowList:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix imports in idlelib.window.

0 commit comments

Comments
 (0)