From 58dbe260a2e41c31f1ab03e1abdb1f01da4c1edc Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Thu, 13 Jan 2022 10:56:00 +0100 Subject: MAINT, DOC: discard repeated words --- numpy/core/numeric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/numeric.py') 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 -- cgit v1.2.1