diff --git a/Lib/idlelib/configdialog.py b/Lib/idlelib/configdialog.py index 6d0893680274b3..4c89c27e0c0d61 100644 --- a/Lib/idlelib/configdialog.py +++ b/Lib/idlelib/configdialog.py @@ -11,7 +11,7 @@ """ 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 5480219786bca6..ede670a4db5536 100644 --- a/Lib/idlelib/util.py +++ b/Lib/idlelib/util.py @@ -12,7 +12,6 @@ * 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.