Skip to content

Commit 0a9b339

Browse files
authored
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.
1 parent ebe44a5 commit 0a9b339

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
@@ -152,7 +152,7 @@ Vectorcall Support API
152152
This is mostly useful to check whether or not *op* supports vectorcall,
153153
which can be done by checking ``PyVectorcall_Function(op) != NULL``.
154154
155-
.. versionadded:: 3.8
155+
.. versionadded:: 3.9
156156
157157
.. c:function:: PyObject* PyVectorcall_Call(PyObject *callable, PyObject *tuple, PyObject *dict)
158158

0 commit comments

Comments
 (0)