summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorCJ Carey <perimosocordiae@gmail.com>2013-09-25 16:29:09 -0400
committerCJ Carey <perimosocordiae@gmail.com>2013-09-25 16:29:09 -0400
commit0c71afcc932051929c7303f3e61fbece575bc6db (patch)
treef95fefdcfccb9662f5ec1d2a920710a3de9033b5 /numpy/add_newdocs.py
parent99ee78a112065a22f91ea4f39ec58b3513de68e3 (diff)
downloadnumpy-0c71afcc932051929c7303f3e61fbece575bc6db.tar.gz
DOC: adding 'Returns' section to `empty` function
This matches the format of related functions like `empty_like` and `zeros`.
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index 358c60f7b..62ca6dca3 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -748,6 +748,12 @@ add_newdoc('numpy.core.multiarray', 'empty',
Whether to store multi-dimensional data in C (row-major) or
Fortran (column-major) order in memory.
+ Returns
+ -------
+ out : ndarray
+ Array of uninitialized (arbitrary) data with the given
+ shape, dtype, and order.
+
See Also
--------
empty_like, zeros, ones