#6936: for interactive use, quit() is just fine.

This commit is contained in:
Georg Brandl 2009-09-18 07:22:41 +00:00
parent 4fe03350b5
commit 4d94d31b6d
1 changed files with 1 additions and 1 deletions

View File

@ -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 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 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 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 The interpreter's line-editing features usually aren't very sophisticated. On
Unix, whoever installed the interpreter may have enabled support for the GNU Unix, whoever installed the interpreter may have enabled support for the GNU