summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAnthony Shaw <anthony.p.shaw@gmail.com>2023-10-23 16:00:52 (GMT)
committerGitHub <noreply@github.com>2023-10-23 16:00:52 (GMT)
commitbe551a7d0e0df12de773dc02420f11ad214bbfe4 (patch)
tree30c667283331deb03e690d7146a520f3fd0b952c /Doc
parent94c2ddfcd78e62090153837a72f88c083e2be01e (diff)
downloadcpython-be551a7d0e0df12de773dc02420f11ad214bbfe4.zip
cpython-be551a7d0e0df12de773dc02420f11ad214bbfe4.tar.gz
cpython-be551a7d0e0df12de773dc02420f11ad214bbfe4.tar.bz2
Add a version added note for PY_VECTORCALL_ARGUMENTS_OFFSET (#110963)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/call.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/c-api/call.rst b/Doc/c-api/call.rst
index aed4ae4..7198d6b 100644
--- a/Doc/c-api/call.rst
+++ b/Doc/c-api/call.rst
@@ -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.