summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorFrederic <nouiz@nouiz.org>2012-09-26 14:44:23 -0400
committerFrederic <nouiz@nouiz.org>2012-09-26 14:47:38 -0400
commitc006f6195090f0524ca0510f9d7f716747d8b3d5 (patch)
tree0a04324d58a8180cba8b0765460bc216402fd049 /numpy/add_newdocs.py
parent4134859a39ac6d8f292b3469c4f399827eaf4578 (diff)
downloadnumpy-c006f6195090f0524ca0510f9d7f716747d8b3d5.tar.gz
Add doc to {empty,zeros,ones}_like that tell in witch version their dtype and order parameter was added
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index f94a6964a..20da8ea8b 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -779,8 +779,10 @@ add_newdoc('numpy.core.multiarray', 'empty_like',
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