mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #27891: Consistently group and sort imports within idlelib modules.
This commit is contained in:
parent
89b1162511
commit
bfbaa6b206
47 changed files with 200 additions and 125 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue