bpo-35213: Where appropriate, use 'macOS' in idlelib. (#10478)

This commit is contained in:
Terry Jan Reedy 2018-11-15 13:15:13 -05:00 committed by GitHub
parent 70f61b933f
commit b65413b497
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 28 additions and 28 deletions

View file

@ -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)