summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-01-22 10:36:04 -0700
committerGitHub <noreply@github.com>2021-01-22 10:36:04 -0700
commitbec2b07db5c999721d2d2c10334f3afe78aaadd9 (patch)
tree2b6d6755a7132130a6b0ef7be4f739858698efda
parent33273e4ae770cac1ee0cb304ad5a0056bb59ad56 (diff)
parent15ff83a5807742e58247ad4f6bc8c53606c26ccc (diff)
downloadnumpy-bec2b07db5c999721d2d2c10334f3afe78aaadd9.tar.gz
Merge pull request #18210 from madphysicist/patch-2
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)