summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libexcs.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-07-23 19:19:39 (GMT)
committerFred Drake <fdrake@acm.org>2001-07-23 19:19:39 (GMT)
commitc046e97dc2aefc3213db668dc3ba5cf412407d1d (patch)
tree21a9ea8c05034b338856ee377b3ad0706b18f783 /Doc/lib/libexcs.tex
parent63bc2e0fcbe4d76fe04dcb85780853bc4e2753a5 (diff)
downloadcpython-c046e97dc2aefc3213db668dc3ba5cf412407d1d.zip
cpython-c046e97dc2aefc3213db668dc3ba5cf412407d1d.tar.gz
cpython-c046e97dc2aefc3213db668dc3ba5cf412407d1d.tar.bz2
Add StopIteration to the list of exceptions *not* derived from StandardError.
Slightly re-word discussion of SystemExit and fork(). This is part of SF patch #443788.
Diffstat (limited to 'Doc/lib/libexcs.tex')
-rw-r--r--Doc/lib/libexcs.tex7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex
index 65b1dd8..b9a31cc 100644
--- a/Doc/lib/libexcs.tex
+++ b/Doc/lib/libexcs.tex
@@ -66,8 +66,8 @@ also available on the instance's \member{args} attribute, as a tuple.
\begin{excdesc}{StandardError}
The base class for all built-in exceptions except
-\exception{SystemExit}. \exception{StandardError} itself is derived
-from the root class
+\exception{StopIteration} and \exception{SystemExit}.
+\exception{StandardError} itself is derived from the root class
\exception{Exception}.
\end{excdesc}
@@ -295,7 +295,8 @@ For class exceptions, \function{str()} returns only the message.
can be executed, and so that a debugger can execute a script without
running the risk of losing control. The \function{os._exit()} function
can be used if it is absolutely positively necessary to exit
- immediately (e.g., after a \function{fork()} in the child process).
+ immediately (for example, in the child process after a call to
+ \function{fork()}).
\end{excdesc}
\begin{excdesc}{TypeError}