From c6ef503b4972cb02f3fb9ac700636b8882edb11a Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Sat, 1 Oct 2016 21:12:16 -0400 Subject: [PATCH] Issue #28323: Remove vestigal MacOS 9 checks from exit() and quit(). Patch by Chi Hsuan Yen. --- Lib/site.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Lib/site.py b/Lib/site.py index b6376357ea3..0859f28ce1b 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)'