summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/call.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-07-24 13:06:46 (GMT)
committerGitHub <noreply@github.com>2023-07-24 13:06:46 (GMT)
commit579868e8f1f7995570b2c101b8805e015341f62c (patch)
tree6451dc1ec931f7387b6257d187a3a1ce44dc6a72 /Doc/c-api/call.rst
parent798d83bec89cb2e4565f7e16654fc3908a79a746 (diff)
downloadcpython-579868e8f1f7995570b2c101b8805e015341f62c.zip
cpython-579868e8f1f7995570b2c101b8805e015341f62c.tar.gz
cpython-579868e8f1f7995570b2c101b8805e015341f62c.tar.bz2
[3.11] Fix PyVectorcall_Function doc versionadded (GH-107140) (#107174)
Fix PyVectorcall_Function doc versionadded (GH-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. (cherry picked from commit 0a9b339363a59be1249189c767ed6f46fd71e1c7) Co-authored-by: da-woods <dw-git@d-woods.co.uk>
Diffstat (limited to 'Doc/c-api/call.rst')
-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 a574965..838af60 100644
--- a/Doc/c-api/call.rst
+++ b/Doc/c-api/call.rst
@@ -156,7 +156,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)