Skip to content

Commit

Permalink
Fix PyVectorcall_Function doc versionadded (#107140)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
da-woods authored Jul 24, 2023
1 parent ebe44a5 commit 0a9b339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/c-api/call.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0a9b339

Please sign in to comment.