@@ -687,7 +687,7 @@ Export API
687687
688688.. versionadded:: 3.14
689689
690- .. c:struct :: PyLongLayout
690+ .. c:type :: PyLongLayout
691691
692692 Layout of an array of "digits" ("limbs" in the GMP terminology), used to
693693 represent absolute value for arbitrary precision integers.
@@ -727,7 +727,7 @@ Export API
727727
728728 Get the native layout of Python :class:`int` objects.
729729
730- See the :c:struct :`PyLongLayout` structure.
730+ See the :c:type :`PyLongLayout` structure.
731731
732732 The function must not be called before Python initialization nor after
733733 Python finalization. The returned layout is valid until Python is
@@ -799,7 +799,7 @@ The :c:type:`PyLongWriter` API can be used to import an integer.
799799
800800.. versionadded :: 3.14
801801
802- .. c :struct :: PyLongWriter
802+ .. c :type :: PyLongWriter
803803
804804 A Python :class: `int ` writer instance.
805805
@@ -827,7 +827,7 @@ The :c:type:`PyLongWriter` API can be used to import an integer.
827827 The layout of *digits * is described by :c:func: `PyLong_GetNativeLayout `.
828828
829829 Digits must be in the range [``0 ``; ``(1 << bits_per_digit) - 1 ``]
830- (where the :c:struct : `~PyLongLayout.bits_per_digit ` is the number of bits
830+ (where the :c:type : `~PyLongLayout.bits_per_digit ` is the number of bits
831831 per digit).
832832 Any unused most significant digits must be set to ``0``.
833833
0 commit comments