mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-35213: Where appropriate, use 'macOS' in idlelib. (#10478)
This commit is contained in:
parent
70f61b933f
commit
b65413b497
6 changed files with 28 additions and 28 deletions
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
A number of functions that enhance IDLE on Mac OSX.
|
||||
A number of functions that enhance IDLE on macOS.
|
||||
"""
|
||||
from sys import platform # Used in _init_tk_type, changed by test.
|
||||
|
||||
|
@ -192,7 +192,7 @@ def overrideRootMenu(root, flist):
|
|||
root.bind('<<close-all-windows>>', flist.close_all_callback)
|
||||
|
||||
# The binding above doesn't reliably work on all versions of Tk
|
||||
# on MacOSX. Adding command definition below does seem to do the
|
||||
# on macOS. Adding command definition below does seem to do the
|
||||
# right thing for now.
|
||||
root.createcommand('exit', flist.close_all_callback)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue