Skip to content

Commit c83244f

Browse files
committed
+1
1 parent 65ddd2c commit c83244f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Doc/c-api/long.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ Export API
735735
in a process, and so it can be cached.
736736
737737
738-
.. c:struct:: PyLongExport
738+
.. c:type:: PyLongExport
739739
740740
Export of a Python :class:`int` object.
741741
@@ -769,7 +769,7 @@ Export API
769769
770770
Export a Python :class:`int` object.
771771
772-
*export_long* must point to a :c:struct:`PyLongExport` structure allocated
772+
*export_long* must point to a :c:type:`PyLongExport` structure allocated
773773
by the caller. It must not be ``NULL``.
774774
775775
On success, fill in *\*export_long* and return ``0``.

Misc/stable_abi.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2664,6 +2664,9 @@
26642664
[function.Py_SET_SIZE]
26652665
# Before 3.15, this was a macro that accessed the PyObject member
26662666
added = '3.15'
2667+
2668+
# PEP 757 import/export API.
2669+
26672670
[function.PyLong_GetNativeLayout]
26682671
added = '3.15'
26692672
[function.PyLong_Export]
@@ -2685,3 +2688,4 @@
26852688
[struct.PyLongExport]
26862689
added = '3.15'
26872690
struct_abi_kind = 'members'
2691+
members = ['value', 'negative', 'ndigits', 'digits']

0 commit comments

Comments
 (0)