Skip to content

Commit

Permalink
Doc: c-api: fix order of PyMemberDef fields (pythonGH-112879)
Browse files Browse the repository at this point in the history
(cherry picked from commit 42a86df)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
  • Loading branch information
methane authored and miss-islington committed Dec 10, 2023
1 parent 02fbe89 commit 9733a81
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Doc/c-api/structures.rst
Original file line number Diff line number Diff line change
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 9733a81

Please sign in to comment.