summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/reference/c-api.iterator.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/reference/c-api.iterator.rst b/doc/source/reference/c-api.iterator.rst
index 153792ac8..b26845434 100644
--- a/doc/source/reference/c-api.iterator.rst
+++ b/doc/source/reference/c-api.iterator.rst
@@ -204,7 +204,7 @@ is used to control the memory layout of the allocated result, typically
* Make a copy of the iternext function pointer and
* a few other variables the inner loop needs.
*/
- iternext = NpyIter_GetIterNext(iter);
+ iternext = NpyIter_GetIterNext(iter, NULL);
innerstride = NpyIter_GetInnerStrideArray(iter)[0];
itemsize = NpyIter_GetDescrArray(iter)[0]->elsize;
/*