mirror of
https://github.com/python/cpython.git
synced 2025-11-26 13:22:51 +00:00
Grammar fix.
This commit is contained in:
parent
e7f140355b
commit
c63785db86
1 changed files with 3 additions and 4 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue