Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 11303dd

Browse files
csabellaterryjreedy
authored andcommitted
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.
1 parent 83da926 commit 11303dd

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)