Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8e07998

Browse files
committed
The \indexsubitem definition for the actual exceptions did not actually
change the \indexsubitem value; fixed.
1 parent 9d2f7d4 commit 8e07998

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/lib/libexcs.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ \section{Built-in Exceptions}
8585
\code{KeyError}.
8686
\end{excdesc}
8787

88-
\renewcommand{\indexsubitem}{(built-in exception base class)}
88+
\renewcommand{\indexsubitem}{(built-in exception)}
8989

9090
The following exceptions are the exceptions that are actually raised.
9191
They are class objects, except when the \code{-X} option is used to
@@ -242,7 +242,7 @@ \section{Built-in Exceptions}
242242
\code{code} which is set to the proposed exit status or error message
243243
(defaulting to \code{None}).
244244

245-
A call to \code{sys.exit} is translated into an exception so that
245+
A call to \code{sys.exit()} is translated into an exception so that
246246
clean-up handlers (\code{finally} clauses of \code{try} statements)
247247
can be executed, and so that a debugger can execute a script without
248248
running the risk of losing control. The \code{os._exit()} function

Doc/libexcs.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ \section{Built-in Exceptions}
8585
\code{KeyError}.
8686
\end{excdesc}
8787

88-
\renewcommand{\indexsubitem}{(built-in exception base class)}
88+
\renewcommand{\indexsubitem}{(built-in exception)}
8989

9090
The following exceptions are the exceptions that are actually raised.
9191
They are class objects, except when the \code{-X} option is used to
@@ -242,7 +242,7 @@ \section{Built-in Exceptions}
242242
\code{code} which is set to the proposed exit status or error message
243243
(defaulting to \code{None}).
244244

245-
A call to \code{sys.exit} is translated into an exception so that
245+
A call to \code{sys.exit()} is translated into an exception so that
246246
clean-up handlers (\code{finally} clauses of \code{try} statements)
247247
can be executed, and so that a debugger can execute a script without
248248
running the risk of losing control. The \code{os._exit()} function

0 commit comments

Comments
 (0)