From d4286f864af9b53337186a71b2fca14e75e79b74 Mon Sep 17 00:00:00 2001 From: argriffing Date: Fri, 11 Jan 2013 20:02:19 -0500 Subject: remove a confusing docstring line ones_like: "With default parameters, is equivalent to a.copy().fill(1)." This is not technically true, because 'fill' returns None. --- numpy/core/numeric.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'numpy/core/numeric.py') diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index 0d0babbac..521001575 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -67,8 +67,6 @@ def zeros_like(a, dtype=None, order='K', subok=True): """ Return an array of zeros with the same shape and type as a given array. - With default parameters, is equivalent to ``a.copy().fill(0)``. - Parameters ---------- a : array_like @@ -155,8 +153,6 @@ def ones_like(a, dtype=None, order='K', subok=True): """ Return an array of ones with the same shape and type as a given array. - With default parameters, is equivalent to ``a.copy().fill(1)``. - Parameters ---------- a : array_like -- cgit v1.2.1