From: Georg Brandl Date: Fri, 18 Sep 2009 07:22:41 +0000 (+0000) Subject: #6936: for interactive use, quit() is just fine. X-Git-Tag: v2.7a1~509 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d94d31b6d83ff2520fd495c3208fe6989b90060;p=python #6936: for interactive use, quit() is just fine. --- diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst index 1511584e6d..311b409acd 100644 --- a/Doc/tutorial/interpreter.rst +++ b/Doc/tutorial/interpreter.rst @@ -31,7 +31,7 @@ command into the command prompt in a DOS box:: Typing an end-of-file character (:kbd:`Control-D` on Unix, :kbd:`Control-Z` on Windows) at the primary prompt causes the interpreter to exit with a zero exit status. If that doesn't work, you can exit the interpreter by typing the -following commands: ``import sys; sys.exit()``. +following command: ``quit()``. The interpreter's line-editing features usually aren't very sophisticated. On Unix, whoever installed the interpreter may have enabled support for the GNU