mirror of
https://github.com/python/cpython.git
synced 2024-12-11 10:50:11 +08:00
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.
This commit is contained in:
parent
ebe44a5155
commit
0a9b339363
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user