diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2015-05-22 16:36:53 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2015-05-22 16:36:53 (GMT) |
commit | 7dc9dea7784c2e8cd07af11d1757ae58a3492bd6 (patch) | |
tree | 1721a591d3af3f79043e7a92b5dd0ca55b9c9ce4 /Lib/tkinter/__init__.py | |
parent | 3cfec2e2fcab9f39121cec362b78ac235093ca1c (diff) | |
download | cpython-7dc9dea7784c2e8cd07af11d1757ae58a3492bd6.zip cpython-7dc9dea7784c2e8cd07af11d1757ae58a3492bd6.tar.gz cpython-7dc9dea7784c2e8cd07af11d1757ae58a3492bd6.tar.bz2 |
Issue #20035: Reimplement tkinter._fix module as a C function.
The new private C function makes no permanent changes to the environment
and is #ifdef'd out on non-Windows platforms.
Diffstat (limited to 'Lib/tkinter/__init__.py')
-rw-r--r-- | Lib/tkinter/__init__.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py index 196809b..ea747ac 100644 --- a/Lib/tkinter/__init__.py +++ b/Lib/tkinter/__init__.py @@ -31,9 +31,6 @@ tk.mainloop() """ import sys -if sys.platform == "win32": - # Attempt to configure Tcl/Tk without requiring PATH - from tkinter import _fix import _tkinter # If this fails your Python may not be configured for Tk TclError = _tkinter.TclError |