Don't export a name "tkinter" from the "tkinter" package.
Else people doing "from tkinter import *" will get a nasty surprise.
This commit is contained in:
parent
f4a942c980
commit
9098a0d100
|
@ -37,7 +37,6 @@ if sys.platform == "win32":
|
||||||
# Attempt to configure Tcl/Tk without requiring PATH
|
# Attempt to configure Tcl/Tk without requiring PATH
|
||||||
from tkinter import _fix
|
from tkinter import _fix
|
||||||
import _tkinter # If this fails your Python may not be configured for Tk
|
import _tkinter # If this fails your Python may not be configured for Tk
|
||||||
tkinter = _tkinter # b/w compat for export
|
|
||||||
TclError = _tkinter.TclError
|
TclError = _tkinter.TclError
|
||||||
from types import *
|
from types import *
|
||||||
from tkinter.constants import *
|
from tkinter.constants import *
|
||||||
|
|
Loading…
Reference in New Issue