summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api/iterator.rst
diff options
context:
space:
mode:
authortakanori-pskq <takanori17h@gmail.com>2020-11-06 01:40:02 +0000
committertakanori-pskq <takanori17h@gmail.com>2020-11-06 01:40:02 +0000
commit6c8aa42ce668aa57ddc3347df35998fc32e7240a (patch)
tree3845cb52cca6503a1e24167a9be02d20bd548004 /doc/source/reference/c-api/iterator.rst
parent93d3e7c247b66ec54d1095df30e99a95b4af9c72 (diff)
downloadnumpy-6c8aa42ce668aa57ddc3347df35998fc32e7240a.tar.gz
DOC: Fix for buildling with sphinx 3
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``.