Skip to content

Commit 1da6e7b

Browse files
authored
Reorder imports for clarity
1 parent 01000ea commit 1da6e7b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Lib/tkinter/__init__.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131
"""
3232
import _tkinter # If this fails your Python may not be configured for Tk
3333
from tkinter.constants import *
34+
import collections
35+
import enum
3436

35-
lazy import collections
36-
lazy import enum
3737
lazy import sys
3838
lazy import types
39-
39+
lazy import re
4040
TclError = _tkinter.TclError
4141

4242
wantobjects = 1
@@ -45,8 +45,6 @@
4545
TkVersion = float(_tkinter.TK_VERSION)
4646
TclVersion = float(_tkinter.TCL_VERSION)
4747

48-
lazy import re
49-
5048
READABLE = _tkinter.READABLE
5149
WRITABLE = _tkinter.WRITABLE
5250
EXCEPTION = _tkinter.EXCEPTION

0 commit comments

Comments
 (0)