From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 23 Oct 2023 16:09:56 +0000 (+0200) Subject: [3.11] Add a version added note for PY_VECTORCALL_ARGUMENTS_OFFSET (GH-110963) (... X-Git-Tag: v3.11.7~140 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=09bd752d9461b9104870ccc843b6e07b2f5a1467;p=thirdparty%2FPython%2Fcpython.git [3.11] Add a version added note for PY_VECTORCALL_ARGUMENTS_OFFSET (GH-110963) (#111220) Co-authored-by: Anthony Shaw --- diff --git a/Doc/c-api/call.rst b/Doc/c-api/call.rst index 838af604dca0..df17c2207e94 100644 --- a/Doc/c-api/call.rst +++ b/Doc/c-api/call.rst @@ -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 ` function as with any other callable. :c:func:`PyObject_Vectorcall` will usually be most efficient.