Skip to content

Commit

Permalink
Update call.rst with the version added date for PY_VECTORCALL_ARGUMEN…
Browse files Browse the repository at this point in the history
…TS_OFFSET
  • Loading branch information
tonybaloney committed Oct 17, 2023
1 parent 78e4a6d commit 3949d96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Doc/c-api/call.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3949d96

Please sign in to comment.