Grammar fix.

This commit is contained in:
Georg Brandl 2009-01-03 21:52:16 +00:00
parent e7f140355b
commit c63785db86
1 changed files with 3 additions and 4 deletions

View File

@ -208,7 +208,7 @@ definition with the same method name.
.. ctype:: PyMemberDef
Structure which describes an attribute of a type which corresponds to a C
struct member. It's fields are:
struct member. Its fields are:
+------------------+-------------+-------------------------------+
| Field | C Type | Meaning |
@ -263,9 +263,8 @@ definition with the same method name.
:attr:`flags` can be 0 for write and read access or :cmacro:`READONLY` for
read-only access. Using :cmacro:`T_STRING` for :attr:`type` implies
:cmacro:`READONLY`. Only :cmacro:`T_OBJECT` and :cmacro:`T_OBJECT_EX` can be
deleted. (They are set to *NULL*).
:cmacro:`READONLY`. Only :cmacro:`T_OBJECT` and :cmacro:`T_OBJECT_EX`
members can be deleted. (They are set to *NULL*).
.. cfunction:: PyObject* Py_FindMethod(PyMethodDef table[], PyObject *ob, char *name)