File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ \section{Intermezzo: Errors and Exceptions}
240240
241241The choice of which exception to raise is entirely yours. There are
242242predeclared \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
244244course, you should choose exceptions wisely --- don't use
245245\cdata {PyExc_TypeError} to mean that a file couldn't be opened (that
246246should probably be \cdata {PyExc_IOError}). If something's wrong with
Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ \section{Intermezzo: Errors and Exceptions}
240240
241241The choice of which exception to raise is entirely yours. There are
242242predeclared \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
244244course, you should choose exceptions wisely --- don't use
245245\cdata {PyExc_TypeError} to mean that a file couldn't be opened (that
246246should probably be \cdata {PyExc_IOError}). If something's wrong with
You can’t perform that action at this time.
0 commit comments