summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorda-woods <dw-git@d-woods.co.uk>2023-07-24 12:54:38 (GMT)
committerGitHub <noreply@github.com>2023-07-24 12:54:38 (GMT)
commit0a9b339363a59be1249189c767ed6f46fd71e1c7 (patch)
tree19703080fc2797a9b76f76f4e73daa94c3cd10ee /Doc
parentebe44a5155e9abc70c4b8914ad26b27c2b84f72b (diff)
downloadcpython-0a9b339363a59be1249189c767ed6f46fd71e1c7.zip
cpython-0a9b339363a59be1249189c767ed6f46fd71e1c7.tar.gz
cpython-0a9b339363a59be1249189c767ed6f46fd71e1c7.tar.bz2
Fix PyVectorcall_Function doc versionadded (#107140)
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.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/call.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/call.rst b/Doc/c-api/call.rst
index 8be4b5a..aed4ae4 100644
--- a/Doc/c-api/call.rst
+++ b/Doc/c-api/call.rst
@@ -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)