summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-09-18 07:22:41 (GMT)
committerGeorg Brandl <georg@python.org>2009-09-18 07:22:41 (GMT)
commit4d94d31b6d83ff2520fd495c3208fe6989b90060 (patch)
tree3663dd3925afafa7a807a684f2674b5a20551c9f /Doc
parent4fe03350b59b34935e9920f6670d8b4a156127eb (diff)
downloadcpython-4d94d31b6d83ff2520fd495c3208fe6989b90060.zip
cpython-4d94d31b6d83ff2520fd495c3208fe6989b90060.tar.gz
cpython-4d94d31b6d83ff2520fd495c3208fe6989b90060.tar.bz2
#6936: for interactive use, quit() is just fine.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tutorial/interpreter.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst
index 1511584..311b409 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