diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2016-07-10 21:28:10 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2016-07-10 21:28:10 (GMT) |
commit | a748032653aec69596257f59f27d8e1945fece9d (patch) | |
tree | 25d06528db043b0e0039f5a1de73d60e304518cd /Lib/idlelib/multicall.py | |
parent | cd5e388c39563c7bd1122ec3360fd5ed60952668 (diff) | |
download | cpython-a748032653aec69596257f59f27d8e1945fece9d.zip cpython-a748032653aec69596257f59f27d8e1945fece9d.tar.gz cpython-a748032653aec69596257f59f27d8e1945fece9d.tar.bz2 |
Refine geometry of idlelib htests (and a few other fix-ups).
Diffstat (limited to 'Lib/idlelib/multicall.py')
-rw-r--r-- | Lib/idlelib/multicall.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/multicall.py b/Lib/idlelib/multicall.py index bf02f59..8a66cd9 100644 --- a/Lib/idlelib/multicall.py +++ b/Lib/idlelib/multicall.py @@ -417,8 +417,8 @@ def MultiCallCreator(widget): def _multi_call(parent): # htest # top = tkinter.Toplevel(parent) top.title("Test MultiCall") - width, height, x, y = list(map(int, re.split('[x+]', parent.geometry()))) - top.geometry("+%d+%d"%(x, y + 150)) + x, y = map(int, parent.geometry().split('+')[1:]) + top.geometry("+%d+%d" % (x, y + 175)) text = MultiCallCreator(tkinter.Text)(top) text.pack() def bindseq(seq, n=[0]): |