summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2022-12-02 13:42:56 +0200
committerGitHub <noreply@github.com>2022-12-02 13:42:56 +0200
commitfb4c963063a28e7f282bd7981750539a5b25f7f7 (patch)
treeb7a6afed01f97fcce1782c71d9408757da6d28f0 /doc/source
parent4f52cda124a87140177cf5c46387c5c8053fe045 (diff)
parent8b717c674374e25e6fae55144360116b0a565f00 (diff)
downloadnumpy-fb4c963063a28e7f282bd7981750539a5b25f7f7.tar.gz
Merge pull request #22705 from kremeyer/dev
DOC: misleading text lead to false hope
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/reference/c-api/iterator.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/reference/c-api/iterator.rst b/doc/source/reference/c-api/iterator.rst
index 07187e7f1..09c61e5fc 100644
--- a/doc/source/reference/c-api/iterator.rst
+++ b/doc/source/reference/c-api/iterator.rst
@@ -26,7 +26,7 @@ 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.
-Simple Iteration Example
+Iteration Example
------------------------
The best way to become familiar with the iterator is to look at its
@@ -115,10 +115,10 @@ number of non-zero elements in an array.
return nonzero_count;
}
-Simple Multi-Iteration Example
+Multi-Iteration Example
------------------------------
-Here is a simple copy function using the iterator. The ``order`` parameter
+Here is a copy function using the iterator. The ``order`` parameter
is used to control the memory layout of the allocated result, typically
:c:data:`NPY_KEEPORDER` is desired.