From 3949d96cab0c9ecfe489e6e1b004801260bdfe8d Mon Sep 17 00:00:00 2001 From: Anthony Shaw Date: Tue, 17 Oct 2023 18:36:40 +1100 Subject: [PATCH] Update call.rst with the version added date for PY_VECTORCALL_ARGUMENTS_OFFSET --- 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 aed4ae44c76eea..7198d6bc056eb4 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.