Skip to content

Commit

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

Backport only for 2 idlelib files.
Cherrypicked from  259dd71
(cherry picked from commit bc8d81a)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
  • Loading branch information
terryjreedy authored and miss-islington committed Jun 27, 2022
1 parent fd26f29 commit 9c5343c
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 9c5343c

Please sign in to comment.