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
6cd7ecb1
Commit
6cd7ecb1
authored
Oct 07, 1997
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The sequence behavior is now on the Exception root class rather than
on the StandardError class.
parent
fdacc58b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
Doc/lib/libexcs.tex
Doc/lib/libexcs.tex
+4
-3
Doc/libexcs.tex
Doc/libexcs.tex
+4
-3
No files found.
Doc/lib/libexcs.tex
View file @
6cd7ecb1
...
...
@@ -62,14 +62,15 @@ from this class. All user-defined exceptions should also be derived
from this class, but this is not (yet) enforced. The
\code
{
str()
}
function, when applied to an instance of this class (or most derived
classes) returns the string value of the argument or arguments, or an
empty string if no arguments were given to the constructor.
empty string if no arguments were given to the constructor. When used
as a sequence, this accesses the arguments given to the constructor
(handy for backward compatibility with old code).
\end{excdesc}
\begin{excdesc}
{
StandardError
}
The base class for built-in exceptions. All built-in exceptions are
derived from this class, which is itself derived from the root class
\code
{
Exception
}
. For backward compatibility, when used as a
sequence, this accesses the arguments given to the constructor.
\code
{
Exception
}
.
\end{excdesc}
\begin{excdesc}
{
ArithmeticError
}
...
...
Doc/libexcs.tex
View file @
6cd7ecb1
...
...
@@ -62,14 +62,15 @@ from this class. All user-defined exceptions should also be derived
from this class, but this is not (yet) enforced. The
\code
{
str()
}
function, when applied to an instance of this class (or most derived
classes) returns the string value of the argument or arguments, or an
empty string if no arguments were given to the constructor.
empty string if no arguments were given to the constructor. When used
as a sequence, this accesses the arguments given to the constructor
(handy for backward compatibility with old code).
\end{excdesc}
\begin{excdesc}
{
StandardError
}
The base class for built-in exceptions. All built-in exceptions are
derived from this class, which is itself derived from the root class
\code
{
Exception
}
. For backward compatibility, when used as a
sequence, this accesses the arguments given to the constructor.
\code
{
Exception
}
.
\end{excdesc}
\begin{excdesc}
{
ArithmeticError
}
...
...
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