summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorargriffing <argriffing@gmail.com>2013-01-11 20:02:19 -0500
committerargriffing <argriffing@gmail.com>2013-01-11 20:02:19 -0500
commitd4286f864af9b53337186a71b2fca14e75e79b74 (patch)
tree2adee273b588b239f5bacb18b9d1d0f4c215efac /numpy/core/numeric.py
parent00a8c0ca278280d04d32fc84386c29800e3b5a00 (diff)
downloadnumpy-d4286f864af9b53337186a71b2fca14e75e79b74.tar.gz
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.
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py4
1 files changed, 0 insertions, 4 deletions
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