8000 Doc: c-api: fix order of PyMemberDef fields (GH-112879) · python/cpython@c108080 · GitHub
[go: up one dir, main page]

Skip to content

Commit c108080

Browse files
Doc: c-api: fix order of PyMemberDef fields (GH-112879)
Doc: c-api: fix order of PyMemberDef fields (GH-112879) (cherry picked from commit 42a86df)
1 parent 02fbe89 commit c108080

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)
0