From a1a03f2d73d8587d6ddc4cf410b0b9738b33bd28 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Fri, 25 Sep 2015 15:44:27 -0700 Subject: Document empty(..., object) initialization to None. Behavior goes back at least to 1.6.2. Fixes #6367. --- numpy/add_newdocs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/add_newdocs.py') 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 -------- -- cgit v1.2.1