summaryrefslogtreecommitdiff
path: root/Lib/idlelib/multicall.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/multicall.py')
-rw-r--r--Lib/idlelib/multicall.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/multicall.py b/Lib/idlelib/multicall.py
index bf02f597f3..8a66cd9f72 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]):