mirror of https://github.com/python/cpython
#6936: for interactive use, quit() is just fine.
This commit is contained in:
parent
4fe03350b5
commit
4d94d31b6d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue