diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-06-26 21:13:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-26 21:13:49 -0700 |
commit | da6f859e8f12894937331bcf5f318321083f988d (patch) | |
tree | ccc2e9e738e062b4a83ab2d1dae3914b61ddcfbc | |
parent | fd26f29c29692b7f013052ed67ed7db30cffa283 (diff) | |
download | cpython-git-da6f859e8f12894937331bcf5f318321083f988d.tar.gz |
[3.11] gh-84623: Remove unused imports in stdlib (GH-94313)
GH-93773
Backport only for 2 idlelib files.
Cherrypicked from 259dd71c32a42708a2800c72898e2664a33fda9c
(cherry picked from commit bc8d81a8febd26e7d02e26f46532aeb7ecbd55be)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
-rw-r--r-- | Lib/idlelib/configdialog.py | 2 | ||||
-rw-r--r-- | Lib/idlelib/util.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Lib/idlelib/configdialog.py b/Lib/idlelib/configdialog.py index 6d08936802..4c89c27e0c 100644 --- a/Lib/idlelib/configdialog.py +++ b/Lib/idlelib/configdialog.py @@ -11,7 +11,7 @@ Refer to comments in EditorWindow autoindent code for details. """ 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, diff --git a/Lib/idlelib/util.py b/Lib/idlelib/util.py index 5480219786..ede670a4db 100644 --- a/Lib/idlelib/util.py +++ b/Lib/idlelib/util.py @@ -12,7 +12,6 @@ TODO: * 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. |