mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11:41 +00:00
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.
This commit is contained in:
parent
cbe16aefb8
commit
3be2e54adc
5 changed files with 20 additions and 20 deletions
|
|
@ -174,7 +174,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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue