From 80958a4a1b63ae6b2193ce41cc013bd47c76e14e Mon Sep 17 00:00:00 2001 From: Anthony Shaw Date: Tue, 24 Oct 2023 03:00:52 +1100 Subject: [PATCH] Add a version added note for PY_VECTORCALL_ARGUMENTS_OFFSET (GH-110963) (cherry picked from commit be551a7d0e0df12de773dc02420f11ad214bbfe4) Co-authored-by: Anthony Shaw --- Doc/c-api/call.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/c-api/call.rst b/Doc/c-api/call.rst index f4e401442c3d27..855e10e9a5fe40 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 ` function as with any other callable. :c:func:`PyObject_Vectorcall` will usually be most efficient.