[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:
Terry Jan Reedy 2022-06-26 23:54:10 -04:00 committed by GitHub
parent 575997af62
commit bc8d81a8fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -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,

View file

@ -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.