[Python-checkins] r74896 - python/trunk/Doc/tutorial/interpreter.rst
georg.brandl
python-checkins at python.org
Fri Sep 18 09:22:42 CEST 2009
Author: georg.brandl
Date: Fri Sep 18 09:22:41 2009
New Revision: 74896
Log:
#6936: for interactive use, quit() is just fine.
Modified:
python/trunk/Doc/tutorial/interpreter.rst
Modified: python/trunk/Doc/tutorial/interpreter.rst
==============================================================================
--- python/trunk/Doc/tutorial/interpreter.rst (original)
+++ python/trunk/Doc/tutorial/interpreter.rst Fri Sep 18 09:22:41 2009
@@ -31,7 +31,7 @@
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
More information about the Python-checkins
mailing list