diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-26 02:22:48 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-09-26 02:22:48 (GMT) |
commit | 8bfacc798559bb99bc9e13060b9ff23234760c1f (patch) | |
tree | ca5f10b4edd45a3b63fbd693c4a5bfe252df7c12 /Lib/idlelib/run.py | |
parent | 647412fb89521a2f939852caed06985fb35f156b (diff) | |
download | cpython-8bfacc798559bb99bc9e13060b9ff23234760c1f.zip cpython-8bfacc798559bb99bc9e13060b9ff23234760c1f.tar.gz cpython-8bfacc798559bb99bc9e13060b9ff23234760c1f.tar.bz2 |
Issue #25173: Replace 'master' with 'parent' in tkinter.messagebox calls.
This associates the message box with the widget and is better for Mac OSX.
Patch by Mark Roseman.
Diffstat (limited to 'Lib/idlelib/run.py')
-rw-r--r-- | Lib/idlelib/run.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py index d023e28..466c61e 100644 --- a/Lib/idlelib/run.py +++ b/Lib/idlelib/run.py @@ -164,7 +164,7 @@ def show_socket_error(err, address): tkMessageBox.showerror("IDLE Subprocess Error", msg, parent=root) else: tkMessageBox.showerror("IDLE Subprocess Error", - "Socket Error: %s" % err.args[1]) + "Socket Error: %s" % err.args[1], parent=root) root.destroy() def print_exception(): |