Skip to content

Commit 42a86df

Browse files
authored
Doc: c-api: fix order of PyMemberDef fields (#112879)
1 parent eb27c9a commit 42a86df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/c-api/structures.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -419,15 +419,15 @@ Accessing attributes of extension types
419419
420420
The string should be static, no copy is made of it.
421421
422-
.. c:member:: Py_ssize_t offset
423-
424-
The offset in bytes that the member is located on the type’s object struct.
425-
426422
.. c:member:: int type
427423
428424
The type of the member in the C struct.
429425
See :ref:`PyMemberDef-types` for the possible values.
430426
427+
.. c:member:: Py_ssize_t offset
428+
429+
The offset in bytes that the member is located on the type’s object struct.
430+
431431
.. c:member:: int flags
432432
433433
Zero or more of the :ref:`PyMemberDef-flags`, combined using bitwise OR.

0 commit comments

Comments
 (0)