Skip to content

Commit 07dc968

Browse files
committed
Replace more references to Vector with Array
1 parent 78510f5 commit 07dc968

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Doc/c-api/arg.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ API Functions
518518
519519
.. c:function:: int PyArg_ParseArray(PyObject *const *args, Py_ssize_t nargs, const char *format, ...)
520520
521-
Parse the parameters of a function that takes only vector parameters into
521+
Parse the parameters of a function that takes only array parameters into
522522
local variables (that is, a function using the :c:macro:`METH_FASTCALL`
523523
calling convention).
524524
Returns true on success; on failure, it returns false and raises the
@@ -529,7 +529,7 @@ API Functions
529529
530530
.. c:function:: int PyArg_ParseArrayAndKeywords(PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames, const char *format, const char * const *kwlist, ...)
531531
532-
Parse the parameters of a function that takes both vector and keyword
532+
Parse the parameters of a function that takes both array and keyword
533533
parameters into local variables (that is, a function using the
534534
:c:macro:`METH_FASTCALL` ``|`` :c:macro:`METH_KEYWORDS` calling convention).
535535
Returns true on success; on failure, it returns false and raises the

Doc/whatsnew/3.15.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1607,7 +1607,7 @@ C API changes
16071607
New features
16081608
------------
16091609

1610-
* Add :c:func:`PyArg_ParseVector` and :c:func:`PyArg_ParseVectorAndKeywords`
1610+
* Add :c:func:`PyArg_ParseArray` and :c:func:`PyArg_ParseArrayAndKeywords`
16111611
functions to parse arguments of functions using the :c:macro:`METH_FASTCALL`
16121612
calling convention.
16131613
(Contributed by Victor Stinner in :gh:`144175`.)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Add :c:func:`PyArg_ParseVector` and :c:func:`PyArg_ParseVectorAndKeywords`
1+
Add :c:func:`PyArg_ParseArray` and :c:func:`PyArg_ParseArrayAndKeywords`
22
functions to parse arguments of functions using the :c:macro:`METH_FASTCALL`
33
calling convention. Patch by Victor Stinner.

0 commit comments

Comments
 (0)