Skip to content

Commit

Permalink
Doc: c-api: fix order of PyMemberDef fields (#112879)
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Dec 10, 2023
1 parent eb27c9a commit 42a86df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Doc/c-api/structures.rst
Expand Up @@ -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.
Expand Down

0 comments on commit 42a86df

Please sign in to comment.