Skip to content

Commit c6ef503

Browse files
committed
Issue #28323: Remove vestigal MacOS 9 checks from exit() and quit().
Patch by Chi Hsuan Yen.
1 parent 55c9239 commit c6ef503

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Lib/site.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,7 @@ def setquit():
336336
The repr of each object contains a hint at how it works.
337337
338338
"""
339-
if os.sep == ':':
340-
eof = 'Cmd-Q'
341-
elif os.sep == '\\':
339+
if os.sep == '\\':
342340
eof = 'Ctrl-Z plus Return'
343341
else:
344342
eof = 'Ctrl-D (i.e. EOF)'

0 commit comments

Comments
 (0)