diff options
author | Ned Deily <nad@python.org> | 2016-10-02 01:12:16 (GMT) |
---|---|---|
committer | Ned Deily <nad@python.org> | 2016-10-02 01:12:16 (GMT) |
commit | c6ef503b4972cb02f3fb9ac700636b8882edb11a (patch) | |
tree | 3c5c1441dad183d37ca9b76edb472f1c4704c18f /Lib/site.py | |
parent | 55c9239af613682ec141bf6b2c4eb77497943088 (diff) | |
download | cpython-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.
Diffstat (limited to 'Lib/site.py')
-rw-r--r-- | Lib/site.py | 4 |
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)' |