Skip to content

Commit

Permalink
[3.11] pythongh-84623: Remove unused imports in stdlib (python#94313)
Browse files Browse the repository at this point in the history
python#93773

Backport only for 2 idlelib files.
Cherrypicked from  259dd71
  • Loading branch information
terryjreedy authored Jun 27, 2022
1 parent 575997a commit bc8d81a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Lib/idlelib/configdialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"""
import re

from tkinter import (Toplevel, Listbox, Scale, Canvas,
from tkinter import (Toplevel, Listbox, Canvas,
StringVar, BooleanVar, IntVar, TRUE, FALSE,
TOP, BOTTOM, RIGHT, LEFT, SOLID, GROOVE,
NONE, BOTH, X, Y, W, E, EW, NS, NSEW, NW,
Expand Down
1 change: 0 additions & 1 deletion Lib/idlelib/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* std streams (pyshell, run),
* warning stuff (pyshell, run).
"""
from os import path

# .pyw is for Windows; .pyi is for stub files.
py_extensions = ('.py', '.pyw', '.pyi') # Order needed for open/save dialogs.
Expand Down

0 comments on commit bc8d81a

Please sign in to comment.