diff options
author | Fred Drake <fdrake@acm.org> | 1997-12-16 14:54:32 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1997-12-16 14:54:32 (GMT) |
commit | 8e0799817e5db2215a5a22e24848776a2c915d0a (patch) | |
tree | dd174c9113eb1bfe5ce6258690f927ccebbbacbb /Doc | |
parent | 9d2f7d414d2173ffb5b746e6ba365ab9c607a305 (diff) | |
download | cpython-8e0799817e5db2215a5a22e24848776a2c915d0a.zip cpython-8e0799817e5db2215a5a22e24848776a2c915d0a.tar.gz cpython-8e0799817e5db2215a5a22e24848776a2c915d0a.tar.bz2 |
The \indexsubitem definition for the actual exceptions did not actually
change the \indexsubitem value; fixed.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libexcs.tex | 4 | ||||
-rw-r--r-- | Doc/libexcs.tex | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex index 863c7e1..1a6ba40 100644 --- a/Doc/lib/libexcs.tex +++ b/Doc/lib/libexcs.tex @@ -85,7 +85,7 @@ index used on a mapping or sequence is invalid: \code{IndexError}, \code{KeyError}. \end{excdesc} -\renewcommand{\indexsubitem}{(built-in exception base class)} +\renewcommand{\indexsubitem}{(built-in exception)} The following exceptions are the exceptions that are actually raised. They are class objects, except when the \code{-X} option is used to @@ -242,7 +242,7 @@ When class exceptions are used, the instance has an attribute \code{code} which is set to the proposed exit status or error message (defaulting to \code{None}). - A call to \code{sys.exit} is translated into an exception so that + A call to \code{sys.exit()} is translated into an exception so that clean-up handlers (\code{finally} clauses of \code{try} statements) can be executed, and so that a debugger can execute a script without running the risk of losing control. The \code{os._exit()} function diff --git a/Doc/libexcs.tex b/Doc/libexcs.tex index 863c7e1..1a6ba40 100644 --- a/Doc/libexcs.tex +++ b/Doc/libexcs.tex @@ -85,7 +85,7 @@ index used on a mapping or sequence is invalid: \code{IndexError}, \code{KeyError}. \end{excdesc} -\renewcommand{\indexsubitem}{(built-in exception base class)} +\renewcommand{\indexsubitem}{(built-in exception)} The following exceptions are the exceptions that are actually raised. They are class objects, except when the \code{-X} option is used to @@ -242,7 +242,7 @@ When class exceptions are used, the instance has an attribute \code{code} which is set to the proposed exit status or error message (defaulting to \code{None}). - A call to \code{sys.exit} is translated into an exception so that + A call to \code{sys.exit()} is translated into an exception so that clean-up handlers (\code{finally} clauses of \code{try} statements) can be executed, and so that a debugger can execute a script without running the risk of losing control. The \code{os._exit()} function |