summaryrefslogtreecommitdiff
path: root/Lib/idlelib/iomenu.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2018-11-15 13:15:13 -0500
committerGitHub <noreply@github.com>2018-11-15 13:15:13 -0500
commitb65413b497a07f521d835b799be7dd0afcedbd65 (patch)
tree485178060d091834da5ced196584e358a1b6844f /Lib/idlelib/iomenu.py
parent70f61b933f5f4bbb28d2c1a2ebf3a555513e67b0 (diff)
downloadcpython-git-b65413b497a07f521d835b799be7dd0afcedbd65.tar.gz
bpo-35213: Where appropriate, use 'macOS' in idlelib. (#10478)
Diffstat (limited to 'Lib/idlelib/iomenu.py')
-rw-r--r--Lib/idlelib/iomenu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/iomenu.py b/Lib/idlelib/iomenu.py
index fcd8dcc139..f5bced597a 100644
--- a/Lib/idlelib/iomenu.py
+++ b/Lib/idlelib/iomenu.py
@@ -41,7 +41,7 @@ else:
# these problems, falling back to ASCII
locale_encoding = locale.nl_langinfo(locale.CODESET)
if locale_encoding is None or locale_encoding == '':
- # situation occurs on Mac OS X
+ # situation occurs on macOS
locale_encoding = 'ascii'
codecs.lookup(locale_encoding)
except (NameError, AttributeError, LookupError):
@@ -51,7 +51,7 @@ else:
try:
locale_encoding = locale.getdefaultlocale()[1]
if locale_encoding is None or locale_encoding == '':
- # situation occurs on Mac OS X
+ # situation occurs on macOS
locale_encoding = 'ascii'
codecs.lookup(locale_encoding)
except (ValueError, LookupError):