From 5a238789894a1f21961217eaaae3e18bcf6ea7c7 Mon Sep 17 00:00:00 2001 From: Nelle Varoquaux Date: Wed, 28 Feb 2018 16:38:55 -0800 Subject: DOC zeros, empty, and ones now have consistent docstrings closes #10611 --- numpy/core/numeric.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'numpy/core/numeric.py') diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index d2d59d9b2..1f249ae6c 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -160,9 +160,10 @@ def ones(shape, dtype=None, order='C'): dtype : data-type, optional The desired data-type for the array, e.g., `numpy.int8`. Default is `numpy.float64`. - order : {'C', 'F'}, optional - Whether to store multidimensional data in C- or Fortran-contiguous - (row- or column-wise) order in memory. + order : {'C', 'F'}, optional, default: C + Whether to store multi-dimensional data in row-major + (C-style) or column-major (Fortran-style) order in + memory. Returns ------- -- cgit v1.2.1