Skip to content

Commit 579868e

Browse files
[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 0a9b339) Co-authored-by: da-woods <[email protected]>
1 parent 798d83b commit 579868e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/call.rst

+1-1
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)