From: Inada Naoki Date: Sun, 10 Dec 2023 17:43:17 +0000 (+0900) Subject: Doc: c-api: fix order of PyMemberDef fields (#112879) X-Git-Tag: v3.13.0a3~447 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=42a86df3a376a77a94ffe6b4011a82cf51dc336a;p=thirdparty%2FPython%2Fcpython.git Doc: c-api: fix order of PyMemberDef fields (#112879) --- diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst index 528813c255c0..7d82f7839dfc 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.