Kaydet (Commit) b85fbec8 authored tarafından Fred Drake's avatar Fred Drake

"ZeroDevisionError" --> "ZeroDivisionError"

Thanks, AMK!
üst a608febd
......@@ -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_ZeroDevisionError} which you can use directly. Of
e.g. \cdata{PyExc_ZeroDivisionError} 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
......
......@@ -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_ZeroDevisionError} which you can use directly. Of
e.g. \cdata{PyExc_ZeroDivisionError} 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment