diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2020-12-15 11:32:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 11:32:17 -0700 |
commit | 74e135b261e4613963cc50ddb97ac2edbd5936ba (patch) | |
tree | 6216ec24e9dc31b30ef3129f73af64b459cd51de | |
parent | 1342aaa49d9544029f1ff1e56b404adfa1bef468 (diff) | |
parent | 3fe2d9d2627fc0f84aeed293ff8afa7c1f08d899 (diff) | |
download | numpy-74e135b261e4613963cc50ddb97ac2edbd5936ba.tar.gz |
Merge pull request #16855 from marload/fix-issue-10244
DOC: Fix Typo (Wrong argument name)
-rw-r--r-- | numpy/core/_add_newdocs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/_add_newdocs.py b/numpy/core/_add_newdocs.py index e2bf6c439..2cbfe52be 100644 --- a/numpy/core/_add_newdocs.py +++ b/numpy/core/_add_newdocs.py @@ -1147,13 +1147,13 @@ add_newdoc('numpy.core.multiarray', 'compare_chararrays', add_newdoc('numpy.core.multiarray', 'fromiter', """ - fromiter(iterable, dtype, count=-1, *, like=None) + fromiter(iter, dtype, count=-1, *, like=None) Create a new 1-dimensional array from an iterable object. Parameters ---------- - iterable : iterable object + iter : iterable object An iterable object providing data for the array. dtype : data-type The data-type of the returned array. |