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:
Georg Brandl 2008-05-17 18:17:45 +00:00
parent f4a942c980
commit 9098a0d100
1 changed files with 0 additions and 1 deletions

View File

@ -37,7 +37,6 @@ 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
tkinter = _tkinter # b/w compat for export
TclError = _tkinter.TclError
from types import *
from tkinter.constants import *