diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-03-20 08:16:38 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-03-20 08:16:38 (GMT) |
commit | 7fa767e517882f4d3503d168d3a4d4caad317752 (patch) | |
tree | cc4c73326ee706456b2c8de8530fed453e582b69 /Lib/tkinter | |
parent | 69b1e261fc703106b44095796d78ba6aacbbdb63 (diff) | |
download | cpython-7fa767e517882f4d3503d168d3a4d4caad317752.zip cpython-7fa767e517882f4d3503d168d3a4d4caad317752.tar.gz cpython-7fa767e517882f4d3503d168d3a4d4caad317752.tar.bz2 |
Issue #20976: pyflakes: Remove unused imports
Diffstat (limited to 'Lib/tkinter')
-rw-r--r-- | Lib/tkinter/__init__.py | 2 | ||||
-rw-r--r-- | Lib/tkinter/tix.py | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py index 5d6f31b..4ac4e57a 100644 --- a/Lib/tkinter/__init__.py +++ b/Lib/tkinter/__init__.py @@ -35,8 +35,6 @@ if sys.platform == "win32": # Attempt to configure Tcl/Tk without requiring PATH from tkinter import _fix -import warnings - import _tkinter # If this fails your Python may not be configured for Tk TclError = _tkinter.TclError from tkinter.constants import * diff --git a/Lib/tkinter/tix.py b/Lib/tkinter/tix.py index 131aa06..c1cdfa7 100644 --- a/Lib/tkinter/tix.py +++ b/Lib/tkinter/tix.py @@ -27,7 +27,7 @@ # from tkinter import * -from tkinter import _flatten, _cnfmerge, _default_root +from tkinter import _cnfmerge, _default_root # WARNING - TkVersion is a limited precision floating point number if TkVersion < 3.999: |