diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2016-08-31 04:50:55 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2016-08-31 04:50:55 (GMT) |
commit | bfbaa6b206abdb8b1c3861926f4334b879ec91cc (patch) | |
tree | a06ead659eacb714127ad34289a543942d14e4e6 /Lib/idlelib/zoomheight.py | |
parent | 89b1162511dd62e285c1911013f07b45af07f70a (diff) | |
download | cpython-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/zoomheight.py')
-rw-r--r-- | Lib/idlelib/zoomheight.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/zoomheight.py b/Lib/idlelib/zoomheight.py index 0016e9d..aa4a427 100644 --- a/Lib/idlelib/zoomheight.py +++ b/Lib/idlelib/zoomheight.py @@ -5,6 +5,7 @@ import sys from idlelib import macosx + class ZoomHeight: menudefs = [ @@ -20,6 +21,7 @@ class ZoomHeight: top = self.editwin.top zoom_height(top) + def zoom_height(top): geom = top.wm_geometry() m = re.match(r"(\d+)x(\d+)\+(-?\d+)\+(-?\d+)", geom) |