summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/macosx.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-08-31 04:50:55 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-08-31 04:50:55 (GMT)
commitbfbaa6b206abdb8b1c3861926f4334b879ec91cc (patch)
treea06ead659eacb714127ad34289a543942d14e4e6 /Lib/idlelib/macosx.py
parent89b1162511dd62e285c1911013f07b45af07f70a (diff)
downloadcpython-bfbaa6b206abdb8b1c3861926f4334b879ec91cc.zip
cpython-bfbaa6b206abdb8b1c3861926f4334b879ec91cc.tar.gz
cpython-bfbaa6b206abdb8b1c3861926f4334b879ec91cc.tar.bz2
Issue #27891: Consistently group and sort imports within idlelib modules.
Diffstat (limited to 'Lib/idlelib/macosx.py')
-rw-r--r--Lib/idlelib/macosx.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/macosx.py b/Lib/idlelib/macosx.py
index f9f558d..c225dd9 100644
--- a/Lib/idlelib/macosx.py
+++ b/Lib/idlelib/macosx.py
@@ -2,9 +2,10 @@
A number of functions that enhance IDLE on Mac OSX.
"""
from sys import platform # Used in _init_tk_type, changed by test.
-import tkinter
import warnings
+import tkinter
+
## Define functions that query the Mac graphics type.
## _tk_type and its initializer are private to this section.