summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-03 21:52:16 (GMT)
committerGeorg Brandl <georg@python.org>2009-01-03 21:52:16 (GMT)
commitc63785db867804de8b676ddddcc90c3fcbf2c111 (patch)
treed32de2dca78e966935e7a2a0e9852734e3dc7b66 /Doc/c-api
parente7f140355bfcea0c0b4b284910cc05bba4d39cfe (diff)
downloadcpython-c63785db867804de8b676ddddcc90c3fcbf2c111.zip
cpython-c63785db867804de8b676ddddcc90c3fcbf2c111.tar.gz
cpython-c63785db867804de8b676ddddcc90c3fcbf2c111.tar.bz2
Grammar fix.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/structures.rst7
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst
index f8635e5..e92827d 100644
--- a/Doc/c-api/structures.rst
+++ b/Doc/c-api/structures.rst
@@ -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)