diff options
author | Ross Barnowski <rossbar@caltech.edu> | 2023-01-27 23:25:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-27 23:25:01 -0800 |
commit | 1b9d68cf3dc802e42930d02a2ff7d880b632cfd4 (patch) | |
tree | 5a6110118e54762d2c7d2c22220a1c4e74cf850e /doc/source/reference/c-api/array.rst | |
parent | 2aa0bf6973b709724624db8e8a51d8efbdeb5d22 (diff) | |
download | numpy-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/array.rst')
-rw-r--r-- | doc/source/reference/c-api/array.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/reference/c-api/array.rst b/doc/source/reference/c-api/array.rst index 8772b494c..6651a4760 100644 --- a/doc/source/reference/c-api/array.rst +++ b/doc/source/reference/c-api/array.rst @@ -2475,9 +2475,9 @@ As of NumPy 1.6.0, these array iterators are superseded by the new array iterator, :c:type:`NpyIter`. An array iterator is a simple way to access the elements of an -N-dimensional array quickly and efficiently. Section `2 -<#sec-array-iterator>`__ provides more description and examples of -this useful approach to looping over an array. +N-dimensional array quickly and efficiently, as seen in :ref:`the +example <iteration-example>` which provides more description +of this useful approach to looping over an array from C. .. c:function:: PyObject* PyArray_IterNew(PyObject* arr) |