diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2022-01-13 09:03:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 09:03:17 -0700 |
commit | c6d95f57bff1ae390b3539bd46f1c74695b861eb (patch) | |
tree | 97539532377c89f6dd8468c82b7501f0bc8cde54 /numpy/core/numeric.py | |
parent | 5fee4748117e752c42ee489810f272b3e65dffd3 (diff) | |
parent | 58dbe260a2e41c31f1ab03e1abdb1f01da4c1edc (diff) | |
download | numpy-c6d95f57bff1ae390b3539bd46f1c74695b861eb.tar.gz |
Merge pull request #20811 from DimitriPapadopoulos/repeated
MAINT, DOC: discard repeated words
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r-- | numpy/core/numeric.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index 014fa0a39..3e9b6c414 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -136,7 +136,7 @@ def zeros_like(a, dtype=None, order='K', subok=True, shape=None): """ res = empty_like(a, dtype=dtype, order=order, subok=subok, shape=shape) - # needed instead of a 0 to get same result as zeros for for string dtypes + # needed instead of a 0 to get same result as zeros for string dtypes z = zeros(1, dtype=res.dtype) multiarray.copyto(res, z, casting='unsafe') return res |