]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix PyVectorcall_Function doc versionadded (#107140)
authorda-woods <dw-git@d-woods.co.uk>
Mon, 24 Jul 2023 12:54:38 +0000 (13:54 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Jul 2023 12:54:38 +0000 (14:54 +0200)
The documentation implies that PyVectorcall_Function() was available in Python 3.8.
This is half-true - it was available under a different name. I think it's clearer to set
the "version added" to 3.9.

Doc/c-api/call.rst

index 8be4b5ab80c2deb7b6ff0afbdb1fca0ffc870aaa..aed4ae44c76eead574d6f4b4a7da4f13d03bf367 100644 (file)
@@ -152,7 +152,7 @@ Vectorcall Support API
    This is mostly useful to check whether or not *op* supports vectorcall,
    which can be done by checking ``PyVectorcall_Function(op) != NULL``.
 
-   .. versionadded:: 3.8
+   .. versionadded:: 3.9
 
 .. c:function:: PyObject* PyVectorcall_Call(PyObject *callable, PyObject *tuple, PyObject *dict)