Skip to content

Commit bb33a1f

Browse files
authored
DOC: Remove reference to PyArray_MultiIter_SIZE. (numpy#19976)
Remove docs reference to non-existent C macro
1 parent 00dce98 commit bb33a1f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/source/user/c-info.beyond-basics.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,13 @@ incrementing is automatically performed by
174174
:c:func:`PyArray_MultiIter_NEXT` ( ``obj`` ) macro (which can handle a
175175
multiterator ``obj`` as either a :c:expr:`PyArrayMultiIterObject *` or a
176176
:c:expr:`PyObject *`). The data from input number ``i`` is available using
177-
:c:func:`PyArray_MultiIter_DATA` ( ``obj``, ``i`` ) and the total (broadcasted)
178-
size as :c:func:`PyArray_MultiIter_SIZE` ( ``obj``). An example of using this
177+
:c:func:`PyArray_MultiIter_DATA` ( ``obj``, ``i`` ). An example of using this
179178
feature follows.
180179

181180
.. code-block:: c
182181
183182
mobj = PyArray_MultiIterNew(2, obj1, obj2);
184-
size = PyArray_MultiIter_SIZE(obj);
183+
size = mobj->size;
185184
while(size--) {
186185
ptr1 = PyArray_MultiIter_DATA(mobj, 0);
187186
ptr2 = PyArray_MultiIter_DATA(mobj, 1);

0 commit comments

Comments
 (0)