summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorAntony Lee <anntzer.lee@gmail.com>2015-09-25 15:44:27 -0700
committerAntony Lee <anntzer.lee@gmail.com>2015-09-26 17:54:27 -0700
commita1a03f2d73d8587d6ddc4cf410b0b9738b33bd28 (patch)
tree6cbf6a67673bc93873ff5317b3d255b89ea1047d /numpy/add_newdocs.py
parent1bf73fa0119fc4ed9ab771d01e1cee5e9fd36c76 (diff)
downloadnumpy-a1a03f2d73d8587d6ddc4cf410b0b9738b33bd28.tar.gz
Document empty(..., object) initialization to None.
Behavior goes back at least to 1.6.2. Fixes #6367.
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index ce5ef6d09..293005434 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -752,8 +752,8 @@ add_newdoc('numpy.core.multiarray', 'empty',
Returns
-------
out : ndarray
- Array of uninitialized (arbitrary) data with the given
- shape, dtype, and order.
+ Array of uninitialized (arbitrary) data of the given shape, dtype, and
+ order. Object arrays will be initialized to None.
See Also
--------