Skip to content

Commit 71e141e

Browse files
authored
Correct Stable ABI documentation for METH_FASTCALL
The current documentation says: > > METH_FASTCALL > Part of the Stable ABI since version 3.7. > > [...] > > Added in version 3.7. > > Changed in version 3.10: METH_FASTCALL is now part of the stable ABI. so is contradictory about when it was added to the Stable ABI. Looking at the header it seems like 3.10 is right.
1 parent 46a2c11 commit 71e141e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Misc/stable_abi.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1813,7 +1813,6 @@
18131813
[const.METH_COEXIST]
18141814
added = '3.2'
18151815
# METH_STACKLESS is undocumented
1816-
# METH_FASTCALL is not part of limited API.
18171816

18181817
# The following are defined in private headers, but historically
18191818
# they were exported as part of the stable ABI.
@@ -2149,8 +2148,6 @@
21492148

21502149
# New method flags in 3.7 (PEP 590):
21512150

2152-
[const.METH_FASTCALL]
2153-
added = '3.7'
21542151
[const.METH_METHOD]
21552152
added = '3.7'
21562153

@@ -2300,6 +2297,10 @@
23002297
[data.PyStructSequence_UnnamedField]
23012298
added = '3.11'
23022299

2300+
# Added in 3.7 but in the Stable ABI from 3.10
2301+
[const.METH_FASTCALL]
2302+
added = '3.10'
2303+
23032304
# Add stable Py_buffer API in Python 3.11 (https://bugs.python.org/issue45459)
23042305
[struct.Py_buffer]
23052306
added = '3.11'

0 commit comments

Comments
 (0)