Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
40d5e25a
Commit
40d5e25a
authored
Dec 16, 1997
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The \indexsubitem definition for the actual exceptions did not actually
change the \indexsubitem value; fixed.
parent
dc0f50ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Doc/lib/libexcs.tex
Doc/lib/libexcs.tex
+2
-2
Doc/libexcs.tex
Doc/libexcs.tex
+2
-2
No files found.
Doc/lib/libexcs.tex
View file @
40d5e25a
...
...
@@ -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
...
...
Doc/libexcs.tex
View file @
40d5e25a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment