From: Anthony Shaw Date: Mon, 23 Oct 2023 16:00:52 +0000 (+1100) Subject: Add a version added note for PY_VECTORCALL_ARGUMENTS_OFFSET (#110963) X-Git-Tag: v3.13.0a2~355 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=be551a7d0e0df12de773dc02420f11ad214bbfe4;p=thirdparty%2FPython%2Fcpython.git Add a version added note for PY_VECTORCALL_ARGUMENTS_OFFSET (#110963) --- diff --git a/Doc/c-api/call.rst b/Doc/c-api/call.rst index aed4ae44c76e..7198d6bc056e 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.