]> granicus.if.org Git - python/commitdiff
Issue #28323: Remove vestigal MacOS 9 checks from exit() and quit().
authorNed Deily <nad@python.org>
Sun, 2 Oct 2016 01:12:16 +0000 (21:12 -0400)
committerNed Deily <nad@python.org>
Sun, 2 Oct 2016 01:12:16 +0000 (21:12 -0400)
Patch by Chi Hsuan Yen.

Lib/site.py

index b6376357ea3689f6a3ff6f3d26ca4c7087333590..0859f28ce1b91dbe7042eabcd949bb719d54ceb6 100644 (file)
@@ -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)'