Skip to content

Commit

Permalink
[3.11] gh-84623: Remove unused imports in stdlib (GH-94313)
Browse files Browse the repository at this point in the history
GH-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
miss-islington and terryjreedy committed Jun 27, 2022
1 parent fd26f29 commit da6f859
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 da6f859

Please sign in to comment.