mirror of
https://github.com/python/cpython.git
synced 2025-11-27 05:44:16 +00:00
Add a version added note for PY_VECTORCALL_ARGUMENTS_OFFSET (#110963)
This commit is contained in:
parent
94c2ddfcd7
commit
be551a7d0e
1 changed files with 2 additions and 0 deletions
|
|
@ -108,6 +108,8 @@ This is a pointer to a function with the following signature:
|
||||||
Doing so will allow callables such as bound methods to make their onward
|
Doing so will allow callables such as bound methods to make their onward
|
||||||
calls (which include a prepended *self* argument) very efficiently.
|
calls (which include a prepended *self* argument) very efficiently.
|
||||||
|
|
||||||
|
.. versionadded:: 3.8
|
||||||
|
|
||||||
To call an object that implements vectorcall, use a :ref:`call API <capi-call>`
|
To call an object that implements vectorcall, use a :ref:`call API <capi-call>`
|
||||||
function as with any other callable.
|
function as with any other callable.
|
||||||
:c:func:`PyObject_Vectorcall` will usually be most efficient.
|
:c:func:`PyObject_Vectorcall` will usually be most efficient.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue