Grammar fix.

This commit is contained in:
Georg Brandl 2009-01-03 21:52:16 +00:00
parent e7f140355b
commit c63785db86

View file

@ -208,7 +208,7 @@ definition with the same method name.
.. ctype:: PyMemberDef .. ctype:: PyMemberDef
Structure which describes an attribute of a type which corresponds to a C 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 | | 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 :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 read-only access. Using :cmacro:`T_STRING` for :attr:`type` implies
:cmacro:`READONLY`. Only :cmacro:`T_OBJECT` and :cmacro:`T_OBJECT_EX` can be :cmacro:`READONLY`. Only :cmacro:`T_OBJECT` and :cmacro:`T_OBJECT_EX`
deleted. (They are set to *NULL*). members can be deleted. (They are set to *NULL*).
.. cfunction:: PyObject* Py_FindMethod(PyMethodDef table[], PyObject *ob, char *name) .. cfunction:: PyObject* Py_FindMethod(PyMethodDef table[], PyObject *ob, char *name)