mirror of
https://github.com/python/cpython.git
synced 2026-05-30 06:10:49 +00:00
[3.11] Add a version added note for PY_VECTORCALL_ARGUMENTS_OFFSET (GH-110963) (#111220)
Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
This commit is contained in:
parent
a449a70bcb
commit
09bd752d94
1 changed files with 2 additions and 0 deletions
|
|
@ -99,6 +99,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…
Add table
Add a link
Reference in a new issue