]> granicus.if.org Git - python/commitdiff
The \indexsubitem definition for the actual exceptions did not actually
authorFred Drake <fdrake@acm.org>
Tue, 16 Dec 1997 14:54:32 +0000 (14:54 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 16 Dec 1997 14:54:32 +0000 (14:54 +0000)
change the \indexsubitem value; fixed.

Doc/lib/libexcs.tex
Doc/libexcs.tex

index 863c7e1f76ed51479162ec160176a6b040da11c6..1a6ba4072277d2820348206fb11d8a343ab141c5 100644 (file)
@@ -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
index 863c7e1f76ed51479162ec160176a6b040da11c6..1a6ba4072277d2820348206fb11d8a343ab141c5 100644 (file)
@@ -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