mirror of
https://github.com/python/cpython
synced 2024-10-14 12:58:03 +00:00
Doc: c-api: fix order of PyMemberDef fields (#112879)
This commit is contained in:
parent
eb27c9a99e
commit
42a86df3a3
|
@ -419,15 +419,15 @@ Accessing attributes of extension types
|
|||
|
||||
The string should be static, no copy is made of it.
|
||||
|
||||
.. c:member:: Py_ssize_t offset
|
||||
|
||||
The offset in bytes that the member is located on the type’s object struct.
|
||||
|
||||
.. c:member:: int type
|
||||
|
||||
The type of the member in the C struct.
|
||||
See :ref:`PyMemberDef-types` for the possible values.
|
||||
|
||||
.. c:member:: Py_ssize_t offset
|
||||
|
||||
The offset in bytes that the member is located on the type’s object struct.
|
||||
|
||||
.. c:member:: int flags
|
||||
|
||||
Zero or more of the :ref:`PyMemberDef-flags`, combined using bitwise OR.
|
||||
|
|
Loading…
Reference in a new issue