[Python-checkins] [3.11] Fix PyVectorcall_Function doc versionadded (GH-107140) (#107174)

vstinner webhook-mailer at python.org
Mon Jul 24 09:06:50 EDT 2023


https://github.com/python/cpython/commit/579868e8f1f7995570b2c101b8805e015341f62c
commit: 579868e8f1f7995570b2c101b8805e015341f62c
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: vstinner <vstinner at python.org>
date: 2023-07-24T13:06:46Z
summary:

[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 0a9b339363a59be1249189c767ed6f46fd71e1c7)

Co-authored-by: da-woods <dw-git at d-woods.co.uk>

files:
M Doc/c-api/call.rst

diff --git a/Doc/c-api/call.rst b/Doc/c-api/call.rst
index a574965bb1260..838af604dca02 100644
--- a/Doc/c-api/call.rst
+++ b/Doc/c-api/call.rst
@@ -156,7 +156,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)
 



More information about the Python-checkins mailing list