From: Ned Deily Date: Sun, 2 Oct 2016 01:12:16 +0000 (-0400) Subject: Issue #28323: Remove vestigal MacOS 9 checks from exit() and quit(). X-Git-Tag: v3.6.0b2~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6ef503b4972cb02f3fb9ac700636b8882edb11a;p=python Issue #28323: Remove vestigal MacOS 9 checks from exit() and quit(). Patch by Chi Hsuan Yen. --- diff --git a/Lib/site.py b/Lib/site.py index b6376357ea..0859f28ce1 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)'