summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2022-01-13 10:56:00 +0100
committerDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2022-01-13 11:29:51 +0100
commit58dbe260a2e41c31f1ab03e1abdb1f01da4c1edc (patch)
tree8aada9a88cb8718941d16faafb2749462f8325e5 /numpy/core/numeric.py
parent813a0c11186ded0b5caeb853fd2b22fb9addd511 (diff)
downloadnumpy-58dbe260a2e41c31f1ab03e1abdb1f01da4c1edc.tar.gz
MAINT, DOC: discard repeated words
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py2
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