Skip to content

Commit bc8d81a

Browse files
authored
[3.11] gh-84623: Remove unused imports in stdlib (#94313)
#93773 Backport only for 2 idlelib files. Cherrypicked from 259dd71
1 parent 575997a commit bc8d81a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

‎Lib/idlelib/configdialog.py‎

Lines changed: 1 addition & 1 deletion
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‎

Lines changed: 0 additions & 1 deletion
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)