Skip to content

Commit 0dfab78

Browse files
authored
Format
1 parent 44567a4 commit 0dfab78

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Lib/tkinter/__init__.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@
2929
button.pack(side=BOTTOM)
3030
tk.mainloop()
3131
"""
32+
import _tkinter # If this fails your Python may not be configured for Tk
33+
from tkinter.constants import *
3234

3335
lazy import collections
3436
lazy import enum
35-
import sys
37+
lazy import sys
3638
lazy import types
39+
lazy import re
3740

38-
import _tkinter # If this fails your Python may not be configured for Tk
3941
TclError = _tkinter.TclError
40-
from tkinter.constants import *
41-
lazy import re
4242

4343
wantobjects = 1
4444
_debug = False # set to True to print executed Tcl/Tk commands
@@ -71,7 +71,6 @@ def _join(value):
7171
"""Internal function."""
7272
return ' '.join(map(_stringify, value))
7373

74-
7574
def _stringify(value):
7675
"""Internal function."""
7776
if isinstance(value, (list, tuple)):

0 commit comments

Comments
 (0)