summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2016-10-02 01:12:16 (GMT)
committerNed Deily <nad@python.org>2016-10-02 01:12:16 (GMT)
commitc6ef503b4972cb02f3fb9ac700636b8882edb11a (patch)
tree3c5c1441dad183d37ca9b76edb472f1c4704c18f
parent55c9239af613682ec141bf6b2c4eb77497943088 (diff)
downloadcpython-c6ef503b4972cb02f3fb9ac700636b8882edb11a.zip
cpython-c6ef503b4972cb02f3fb9ac700636b8882edb11a.tar.gz
cpython-c6ef503b4972cb02f3fb9ac700636b8882edb11a.tar.bz2
Issue #28323: Remove vestigal MacOS 9 checks from exit() and quit().
Patch by Chi Hsuan Yen.
-rw-r--r--Lib/site.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/site.py b/Lib/site.py
index b637635..0859f28 100644
--- a/Lib/site.py
+++ b/Lib/site.py
@@ -336,9 +336,7 @@ def setquit():
The repr of each object contains a hint at how it works.
"""
- if os.sep == ':':
- eof = 'Cmd-Q'
- elif os.sep == '\\':
+ if os.sep == '\\':
eof = 'Ctrl-Z plus Return'
else:
eof = 'Ctrl-D (i.e. EOF)'