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
7acb2186
Commit
7acb2186
authored
Sep 09, 2000
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor clarifications in the introductory paragraph.
parent
e5441913
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
Doc/lib/libexcs.tex
Doc/lib/libexcs.tex
+7
-6
No files found.
Doc/lib/libexcs.tex
View file @
7acb2186
...
...
@@ -4,12 +4,13 @@
\modulesynopsis
{
Standard exceptions classes.
}
Exceptions can be class objects or string objects. While
traditionally most exceptions have been string objects, in Python
1.5, all standard exceptions have been converted to class objects,
and users are encouraged to do the same. The exceptions are defined
in the module
\module
{
exceptions
}
; this module never needs to be
imported explicitly.
Exceptions can be class objects or string objects. Though most
exceptions have been string objects in past versions of Python, in
Python 1.5 and newer versions, all standard exceptions have been
converted to class objects, and users are encouraged to do the same.
The exceptions are defined in the module
\module
{
exceptions
}
. This
module never needs to be imported explicitly: the exceptions are
provided in the built-in namespace.
Two distinct string objects with the same value are considered different
exceptions. This is done to force programmers to use exception names
...
...
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