]> granicus.if.org Git - python/commitdiff
Add StopIteration to the list of exceptions *not* derived from StandardError.
authorFred Drake <fdrake@acm.org>
Mon, 23 Jul 2001 19:19:39 +0000 (19:19 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 23 Jul 2001 19:19:39 +0000 (19:19 +0000)
Slightly re-word discussion of SystemExit and fork().
This is part of SF patch #443788.

Doc/lib/libexcs.tex

index 65b1dd8e0e38d719d9660ed8818982b9d18527d7..b9a31cce9b18d53d4fb4df463e2cea99147fb5c8 100644 (file)
@@ -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}