mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
Small grammatical fix; missing comma.
This commit is contained in:
parent
295fb434ed
commit
abfd7d6701
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ you have already created) when you return an error indicator!
|
||||||
|
|
||||||
The choice of which exception to raise is entirely yours. There are
|
The choice of which exception to raise is entirely yours. There are
|
||||||
predeclared C objects corresponding to all built-in Python exceptions,
|
predeclared C objects corresponding to all built-in Python exceptions,
|
||||||
e.g. \cdata{PyExc_ZeroDivisionError} 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
|
course, you should choose exceptions wisely --- don't use
|
||||||
\cdata{PyExc_TypeError} to mean that a file couldn't be opened (that
|
\cdata{PyExc_TypeError} to mean that a file couldn't be opened (that
|
||||||
should probably be \cdata{PyExc_IOError}). If something's wrong with
|
should probably be \cdata{PyExc_IOError}). If something's wrong with
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue