summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-03 21:58:35 (GMT)
committerGeorg Brandl <georg@python.org>2009-01-03 21:58:35 (GMT)
commit3b6ab50d3a3b238f93119e9fe14bbaa9197e512d (patch)
treea9180222974bdc11c9b9a581115f4a64257fe2d2 /Doc/c-api
parent20c738a90d0651c50f22af571bbbfca45a21672f (diff)
downloadcpython-3b6ab50d3a3b238f93119e9fe14bbaa9197e512d.zip
cpython-3b6ab50d3a3b238f93119e9fe14bbaa9197e512d.tar.gz
cpython-3b6ab50d3a3b238f93119e9fe14bbaa9197e512d.tar.bz2
Merged revisions 68232 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r68232 | georg.brandl | 2009-01-03 22:52:16 +0100 (Sat, 03 Jan 2009) | 2 lines 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)