Skip to content

Commit 9c5343c

Browse files
terryjreedymiss-islington
authored andcommitted
[3.11] pythongh-84623: Remove unused imports in stdlib (pythonGH-94313)
pythonGH-93773 Backport only for 2 idlelib files. Cherrypicked from 259dd71 (cherry picked from commit bc8d81a) Co-authored-by: Terry Jan Reedy <[email protected]>
1 parent fd26f29 commit 9c5343c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Lib/idlelib/configdialog.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"""
1212
import re
1313

14-
from tkinter import (Toplevel, Listbox, Scale, Canvas,
14+
from tkinter import (Toplevel, Listbox, Canvas,
1515
StringVar, BooleanVar, IntVar, TRUE, FALSE,
1616
TOP, BOTTOM, RIGHT, LEFT, SOLID, GROOVE,
1717
NONE, BOTH, X, Y, W, E, EW, NS, NSEW, NW,

Lib/idlelib/util.py

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* std streams (pyshell, run),
1313
* warning stuff (pyshell, run).
1414
"""
15-
from os import path
1615

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

0 commit comments

Comments
 (0)