mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Issue #28323: Remove vestigal MacOS 9 checks from exit() and quit().
Patch by Chi Hsuan Yen.
This commit is contained in:
parent
55c9239af6
commit
c6ef503b49
1 changed files with 1 additions and 3 deletions
|
@ -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)'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue