summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Fox-Rabinovitz <madphysicist@users.noreply.github.com>2021-01-22 11:00:06 -0500
committerGitHub <noreply@github.com>2021-01-22 11:00:06 -0500
commit15ff83a5807742e58247ad4f6bc8c53606c26ccc (patch)
tree2b6d6755a7132130a6b0ef7be4f739858698efda
parent33273e4ae770cac1ee0cb304ad5a0056bb59ad56 (diff)
downloadnumpy-15ff83a5807742e58247ad4f6bc8c53606c26ccc.tar.gz
DOC: typo in post-loop return
-rw-r--r--numpy/core/_add_newdocs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/_add_newdocs.py b/numpy/core/_add_newdocs.py
index 2cbfe52be..8eb42caf5 100644
--- a/numpy/core/_add_newdocs.py
+++ b/numpy/core/_add_newdocs.py
@@ -377,7 +377,7 @@ add_newdoc('numpy.core', 'nditer',
... while not it.finished:
... it[0] = lamdaexpr(*it[1:])
... it.iternext()
- ... return it.operands[0]
+ ... return it.operands[0]
>>> a = np.arange(5)
>>> b = np.ones(5)