summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-06-13 14:28:41 (GMT)
committerGitHub <noreply@github.com>2022-06-13 14:28:41 (GMT)
commit259dd71c32a42708a2800c72898e2664a33fda9c (patch)
tree5c9a1e367ccc37526054a30867a14db9ad45430a /Lib/idlelib
parent65ac273280fa909f42dd78f3da634e6669e2b63d (diff)
downloadcpython-259dd71c32a42708a2800c72898e2664a33fda9c.zip
cpython-259dd71c32a42708a2800c72898e2664a33fda9c.tar.gz
cpython-259dd71c32a42708a2800c72898e2664a33fda9c.tar.bz2
gh-84623: Remove unused imports in stdlib (#93773)
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/configdialog.py2
-rw-r--r--Lib/idlelib/util.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/Lib/idlelib/configdialog.py b/Lib/idlelib/configdialog.py
index d5748a6..57eaffe 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 5480219..ede670a 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.