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

Skip to content

Commit b85fbec

Browse files
committed
"ZeroDevisionError" --> "ZeroDivisionError"
Thanks, AMK!
1 parent a608feb commit b85fbec

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/ext.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ \section{Intermezzo: Errors and Exceptions}
240240

241241
The choice of which exception to raise is entirely yours. There are
242242
predeclared \C{} objects corresponding to all built-in Python exceptions,
243-
e.g. \cdata{PyExc_ZeroDevisionError} which you can use directly. Of
243+
e.g. \cdata{PyExc_ZeroDivisionError} which you can use directly. Of
244244
course, you should choose exceptions wisely --- don't use
245245
\cdata{PyExc_TypeError} to mean that a file couldn't be opened (that
246246
should probably be \cdata{PyExc_IOError}). If something's wrong with

Doc/ext/ext.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ \section{Intermezzo: Errors and Exceptions}
240240

241241
The choice of which exception to raise is entirely yours. There are
242242
predeclared \C{} objects corresponding to all built-in Python exceptions,
243-
e.g. \cdata{PyExc_ZeroDevisionError} which you can use directly. Of
243+
e.g. \cdata{PyExc_ZeroDivisionError} which you can use directly. Of
244244
course, you should choose exceptions wisely --- don't use
245245
\cdata{PyExc_TypeError} to mean that a file couldn't be opened (that
246246
should probably be \cdata{PyExc_IOError}). If something's wrong with

0 commit comments

Comments
 (0)