summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authornjsmith <njs@pobox.com>2012-09-27 10:31:41 -0700
committernjsmith <njs@pobox.com>2012-09-27 10:31:41 -0700
commit1ea15928299f3dcb320a7482fc9df8650547b663 (patch)
tree0a04324d58a8180cba8b0765460bc216402fd049 /numpy/core/numeric.py
parent4134859a39ac6d8f292b3469c4f399827eaf4578 (diff)
parentc006f6195090f0524ca0510f9d7f716747d8b3d5 (diff)
downloadnumpy-1ea15928299f3dcb320a7482fc9df8650547b663.tar.gz
Merge pull request #461 from nouiz/doc
small doc update
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index 45b998b61..5f0474d3e 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -75,8 +75,10 @@ def zeros_like(a, dtype=None, order='K', subok=True):
The shape and data-type of `a` define these same attributes of
the returned array.
dtype : data-type, optional
+ .. versionadded:: 1.6.0
Overrides the data type of the result.
order : {'C', 'F', 'A', or 'K'}, optional
+ .. versionadded:: 1.6.0
Overrides the memory layout of the result. 'C' means C-order,
'F' means F-order, 'A' means 'F' if `a` is Fortran contiguous,
'C' otherwise. 'K' means match the layout of `a` as closely
@@ -161,8 +163,10 @@ def ones_like(a, dtype=None, order='K', subok=True):
The shape and data-type of `a` define these same attributes of
the returned array.
dtype : data-type, optional
+ .. versionadded:: 1.6.0
Overrides the data type of the result.
order : {'C', 'F', 'A', or 'K'}, optional
+ .. versionadded:: 1.6.0
Overrides the memory layout of the result. 'C' means C-order,
'F' means F-order, 'A' means 'F' if `a` is Fortran contiguous,
'C' otherwise. 'K' means match the layout of `a` as closely