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
b85fbec8
Commit
b85fbec8
authored
Apr 13, 1998
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"ZeroDevisionError" --> "ZeroDivisionError"
Thanks, AMK!
parent
a608febd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Doc/ext.tex
Doc/ext.tex
+1
-1
Doc/ext/ext.tex
Doc/ext/ext.tex
+1
-1
No files found.
Doc/ext.tex
View file @
b85fbec8
...
...
@@ -240,7 +240,7 @@ you have already created) when you return an error indicator!
The choice of which exception to raise is entirely yours. There are
predeclared
\C
{}
objects corresponding to all built-in Python exceptions,
e.g.
\cdata
{
PyExc
_
ZeroD
e
visionError
}
which you can use directly. Of
e.g.
\cdata
{
PyExc
_
ZeroD
i
visionError
}
which you can use directly. Of
course, you should choose exceptions wisely --- don't use
\cdata
{
PyExc
_
TypeError
}
to mean that a file couldn't be opened (that
should probably be
\cdata
{
PyExc
_
IOError
}
). If something's wrong with
...
...
Doc/ext/ext.tex
View file @
b85fbec8
...
...
@@ -240,7 +240,7 @@ you have already created) when you return an error indicator!
The choice of which exception to raise is entirely yours. There are
predeclared
\C
{}
objects corresponding to all built-in Python exceptions,
e.g.
\cdata
{
PyExc
_
ZeroD
e
visionError
}
which you can use directly. Of
e.g.
\cdata
{
PyExc
_
ZeroD
i
visionError
}
which you can use directly. Of
course, you should choose exceptions wisely --- don't use
\cdata
{
PyExc
_
TypeError
}
to mean that a file couldn't be opened (that
should probably be
\cdata
{
PyExc
_
IOError
}
). If something's wrong with
...
...
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