Skip to content

Commit 25f7773

Browse files
authored
Merge pull request #15 from encukou/pep757-sapi/143869
#143906 fixup
2 parents 5997255 + 54457f8 commit 25f7773

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Misc/stable_abi.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
# - 'full-abi': All of the struct is part of the ABI, including the size
4242
# (users may define arrays of these structs).
4343
# Typically used for initialization, rather than at runtime.
44+
# Any members whose names start with an underscore are not part of the
45+
# limited API; they're for CPython's use only.
4446
# - 'opaque': No members are part of the ABI, nor is the size. The Limited
4547
# API only handles these via pointers. The C definition should be
4648
# incomplete (opaque).
@@ -2687,5 +2689,6 @@
26872689
struct_abi_kind = 'full-abi'
26882690
[struct.PyLongExport]
26892691
added = '3.15'
2690-
struct_abi_kind = 'members'
2691-
members = ['value', 'negative', 'ndigits', 'digits']
2692+
# Note: The `_reserved` member of this struct is for interal use only.
2693+
# (The definition of 'full-abi' was clarified when this entry was added.)
2694+
struct_abi_kind = 'full-abi'

0 commit comments

Comments
 (0)