~ubuntu-branches/ubuntu/lucid/python2.6/lucid

« back to all changes in this revision

Viewing changes to Doc/tutorial/interpreter.rst

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-03-11 13:30:19 UTC
  • mto: (10.1.13 sid)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20100311133019-sblbooa3uqrkoe70
Tags: upstream-2.6.5~rc2
ImportĀ upstreamĀ versionĀ 2.6.5~rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
Typing an end-of-file character (:kbd:`Control-D` on Unix, :kbd:`Control-Z` on
32
32
Windows) at the primary prompt causes the interpreter to exit with a zero exit
33
33
status.  If that doesn't work, you can exit the interpreter by typing the
34
 
following commands: ``import sys; sys.exit()``.
 
34
following command: ``quit()``.
35
35
 
36
36
The interpreter's line-editing features usually aren't very sophisticated.  On
37
37
Unix, whoever installed the interpreter may have enabled support for the GNU