bpo-35213: Where appropriate, use 'macOS' in idlelib. (#10478)
diff --git a/Lib/idlelib/macosx.py b/Lib/idlelib/macosx.py
index d3ae224..8f8484a 100644
--- a/Lib/idlelib/macosx.py
+++ b/Lib/idlelib/macosx.py
@@ -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 @@
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)