summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api/iterator.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/reference/c-api/iterator.rst')
-rw-r--r--doc/source/reference/c-api/iterator.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/reference/c-api/iterator.rst b/doc/source/reference/c-api/iterator.rst
index ae96bb3fb..add96e3b4 100644
--- a/doc/source/reference/c-api/iterator.rst
+++ b/doc/source/reference/c-api/iterator.rst
@@ -370,7 +370,7 @@ Construction and Destruction
arrays or structured arrays containing an object type)
may be accepted and used in the iterator. If this flag
is enabled, the caller must be sure to check whether
- :c:func:`NpyIter_IterationNeedsAPI(iter)` is true, in which case
+ :c:expr:`NpyIter_IterationNeedsAPI(iter)` is true, in which case
it may not release the GIL during iteration.
.. c:macro:: NPY_ITER_ZEROSIZE_OK
@@ -738,7 +738,7 @@ Construction and Destruction
the iterator. Any cached functions or pointers from the iterator
must be retrieved again!
- After calling this function, :c:func:`NpyIter_HasMultiIndex(iter)` will
+ After calling this function, :c:expr:`NpyIter_HasMultiIndex(iter)` will
return false.
Returns ``NPY_SUCCEED`` or ``NPY_FAIL``.