mirror of
https://github.com/python/cpython.git
synced 2025-10-05 14:41:07 +00:00
[3.11] gh-84623: Remove unused imports in stdlib (#94313)
#93773
Backport only for 2 idlelib files.
Cherrypicked from 259dd71c32
This commit is contained in:
parent
575997af62
commit
bc8d81a8fe
2 changed files with 1 additions and 2 deletions
|
@ -11,7 +11,7 @@ Refer to comments in EditorWindow autoindent code for details.
|
||||||
"""
|
"""
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from tkinter import (Toplevel, Listbox, Scale, Canvas,
|
from tkinter import (Toplevel, Listbox, Canvas,
|
||||||
StringVar, BooleanVar, IntVar, TRUE, FALSE,
|
StringVar, BooleanVar, IntVar, TRUE, FALSE,
|
||||||
TOP, BOTTOM, RIGHT, LEFT, SOLID, GROOVE,
|
TOP, BOTTOM, RIGHT, LEFT, SOLID, GROOVE,
|
||||||
NONE, BOTH, X, Y, W, E, EW, NS, NSEW, NW,
|
NONE, BOTH, X, Y, W, E, EW, NS, NSEW, NW,
|
||||||
|
|
|
@ -12,7 +12,6 @@ TODO:
|
||||||
* std streams (pyshell, run),
|
* std streams (pyshell, run),
|
||||||
* warning stuff (pyshell, run).
|
* warning stuff (pyshell, run).
|
||||||
"""
|
"""
|
||||||
from os import path
|
|
||||||
|
|
||||||
# .pyw is for Windows; .pyi is for stub files.
|
# .pyw is for Windows; .pyi is for stub files.
|
||||||
py_extensions = ('.py', '.pyw', '.pyi') # Order needed for open/save dialogs.
|
py_extensions = ('.py', '.pyw', '.pyi') # Order needed for open/save dialogs.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue