summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api/iterator.rst
diff options
context:
space:
mode:
authorRoss Barnowski <rossbar@caltech.edu>2023-01-27 23:25:01 -0800
committerGitHub <noreply@github.com>2023-01-27 23:25:01 -0800
commit1b9d68cf3dc802e42930d02a2ff7d880b632cfd4 (patch)
tree5a6110118e54762d2c7d2c22220a1c4e74cf850e /doc/source/reference/c-api/iterator.rst
parent2aa0bf6973b709724624db8e8a51d8efbdeb5d22 (diff)
downloadnumpy-1b9d68cf3dc802e42930d02a2ff7d880b632cfd4.tar.gz
DOC: Fix broken link in C-API array docs (#23117)
Add link to array iterator example Co-authored-by: arunkumarkota <arunkumarkota@gmail.com> Co-authored-by: Arun Kota <arunkota@Aruns-iMac.local>
Diffstat (limited to 'doc/source/reference/c-api/iterator.rst')
-rw-r--r--doc/source/reference/c-api/iterator.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/source/reference/c-api/iterator.rst b/doc/source/reference/c-api/iterator.rst
index 09c61e5fc..92e3e435b 100644
--- a/doc/source/reference/c-api/iterator.rst
+++ b/doc/source/reference/c-api/iterator.rst
@@ -26,8 +26,10 @@ which may be of interest for those using this C API. In many instances,
testing out ideas by creating the iterator in Python is a good idea
before writing the C iteration code.
+.. _iteration-example:
+
Iteration Example
-------------------------
+-----------------
The best way to become familiar with the iterator is to look at its
usage within the NumPy codebase itself. For example, here is a slightly