]> granicus.if.org Git - python/commitdiff
#6936: for interactive use, quit() is just fine.
authorGeorg Brandl <georg@python.org>
Fri, 18 Sep 2009 07:22:41 +0000 (07:22 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 18 Sep 2009 07:22:41 +0000 (07:22 +0000)
Doc/tutorial/interpreter.rst

index 1511584e6de30064644ec48558e09f37d9b62620..311b409acd528699cc83c52ce49ffbef95024c8d 100644 (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
 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