From 42a86df3a376a77a94ffe6b4011a82cf51dc336a Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Mon, 11 Dec 2023 02:43:17 +0900 Subject: [PATCH] Doc: c-api: fix order of PyMemberDef fields (#112879) --- Doc/c-api/structures.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst index 528813c255c..7d82f7839df 100644 --- a/Doc/c-api/structures.rst +++ b/Doc/c-api/structures.rst @@ -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.