From 15ff83a5807742e58247ad4f6bc8c53606c26ccc Mon Sep 17 00:00:00 2001 From: Joseph Fox-Rabinovitz Date: Fri, 22 Jan 2021 11:00:06 -0500 Subject: DOC: typo in post-loop return --- numpy/core/_add_newdocs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy') 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) -- cgit v1.2.1