mirror of
https://github.com/python/cpython
synced 2024-10-14 23:28:08 +00:00
[3.12] Add a version added note for PY_VECTORCALL_ARGUMENTS_OFFSET (GH-110963) (#111219)
Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
This commit is contained in:
parent
82c045f301
commit
87123ab545
|
@ -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
|
||||
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>`
|
||||
function as with any other callable.
|
||||
:c:func:`PyObject_Vectorcall` will usually be most efficient.
|
||||
|
|
Loading…
Reference in a new issue