summaryrefslogtreecommitdiffstats
path: root/Doc/library/exceptions.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-11 14:30:18 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-11 14:30:18 (GMT)
commit95817b36f0310f21fa2ec4099db72596b3442c13 (patch)
treeef148aec01d7bd43ba57875cce9620d8a8fd7d73 /Doc/library/exceptions.rst
parent6e6dcb5719cd3fec7a917e3d7954247305d8e50d (diff)
downloadcpython-95817b36f0310f21fa2ec4099db72596b3442c13.zip
cpython-95817b36f0310f21fa2ec4099db72596b3442c13.tar.gz
cpython-95817b36f0310f21fa2ec4099db72596b3442c13.tar.bz2
Remove mentions of "plain" integers.
Diffstat (limited to 'Doc/library/exceptions.rst')
-rw-r--r--Doc/library/exceptions.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index 9c2e3a6..7129df5 100644
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -157,9 +157,9 @@ The following exceptions are the exceptions that are actually raised.
.. exception:: IndexError
- Raised when a sequence subscript is out of range. (Slice indices are silently
- truncated to fall in the allowed range; if an index is not a plain integer,
- :exc:`TypeError` is raised.)
+ Raised when a sequence subscript is out of range. (Slice indices are
+ silently truncated to fall in the allowed range; if an index is not an
+ integer, :exc:`TypeError` is raised.)
.. XXX xref to sequences
@@ -282,10 +282,10 @@ The following exceptions are the exceptions that are actually raised.
This exception is raised by the :func:`sys.exit` function. When it is not
handled, the Python interpreter exits; no stack traceback is printed. If the
- associated value is a plain integer, it specifies the system exit status (passed
- to C's :cfunc:`exit` function); if it is ``None``, the exit status is zero; if
- it has another type (such as a string), the object's value is printed and the
- exit status is one.
+ associated value is an integer, it specifies the system exit status (passed
+ to C's :cfunc:`exit` function); if it is ``None``, the exit status is zero;
+ if it has another type (such as a string), the object's value is printed and
+ the exit status is one.
Instances have an attribute :attr:`code` which is set to the proposed exit
status or error message (defaulting to ``None``). Also, this exception derives