Skip to content

Commit

Permalink
Doc: c-api: fix order of PyMemberDef fields (GH-112879)
Browse files Browse the repository at this point in the history
Doc: c-api: fix order of PyMemberDef fields (GH-112879)
(cherry picked from commit 42a86df)
  • Loading branch information
miss-islington authored Dec 10, 2023
1 parent 02fbe89 commit c108080
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 c108080

Please sign in to comment.