8000 Fix PyVectorcall_Function doc versionadded (GH-107140) · miss-islington/cpython@68e93e5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 68e93e5

Browse files
da-woodsmiss-islington
authored andcommitted
Fix PyVectorcall_Function doc versionadded (pythonGH-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 0a9b339) Co-authored-by: da-woods <dw-git@d-woods.co.uk>
1 parent 798d83b commit 68e93e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/call.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Vectorcall Support API
156156
This is mostly useful to check whether or not *op* supports vectorcall,
157157
which can be done by checking ``PyVectorcall_Function(op) != NULL``.
158158
159-
.. versionadded:: 3.8
159+
.. versionadded:: 3.9
160160
161161
.. c:function:: PyObject* PyVectorcall_Call(PyObject *callable, PyObject *tuple, PyObject *dict)
162162

0 commit comments

Comments
 (0)
0