We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44567a4 commit 0dfab78Copy full SHA for 0dfab78
1 file changed
Lib/tkinter/__init__.py
@@ -29,16 +29,16 @@
29
button.pack(side=BOTTOM)
30
tk.mainloop()
31
"""
32
+import _tkinter # If this fails your Python may not be configured for Tk
33
+from tkinter.constants import *
34
35
lazy import collections
36
lazy import enum
-import sys
37
+lazy import sys
38
lazy import types
39
+lazy import re
40
-import _tkinter # If this fails your Python may not be configured for Tk
41
TclError = _tkinter.TclError
-from tkinter.constants import *
-lazy import re
42
43
wantobjects = 1
44
_debug = False # set to True to print executed Tcl/Tk commands
@@ -71,7 +71,6 @@ def _join(value):
71
"""Internal function."""
72
return ' '.join(map(_stringify, value))
73
74
-
75
def _stringify(value):
76
77
if isinstance(value, (list, tuple)):
0 commit comments