mirror of
https://github.com/python/cpython.git
synced 2026-04-22 03:41:08 +00:00
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 11303dd603)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
This commit is contained in:
parent
902196d867
commit
be37dbff1c
2 changed files with 3 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
from tkinter import *
|
||||
from tkinter import Toplevel, TclError
|
||||
import sys
|
||||
|
||||
|
||||
class WindowList:
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
Fix imports in idlelib.window.
|
||||
Loading…
Add table
Add a link
Reference in a new issue