summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api.array.rst
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2014-04-24 21:24:18 +0200
committerJulian Taylor <jtaylor.debian@googlemail.com>2014-04-24 21:24:18 +0200
commitcb045e9330b81c3b002339cac8213f568f7650f7 (patch)
tree697143fbd8c3ae5b042f4bc6230ec792a5a2385e /doc/source/reference/c-api.array.rst
parent999753f85153ae68536aebe9f51ee3ff02b950bc (diff)
downloadnumpy-cb045e9330b81c3b002339cac8213f568f7650f7.tar.gz
MAINT: add a few nonnull attributes to array creation functions
also fix wrong capi documentation of PyArray_NewFromDescr stating it accepts NULL dtype while it does not.
Diffstat (limited to 'doc/source/reference/c-api.array.rst')
-rw-r--r--doc/source/reference/c-api.array.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/reference/c-api.array.rst b/doc/source/reference/c-api.array.rst
index 2ce43b2be..23355bc91 100644
--- a/doc/source/reference/c-api.array.rst
+++ b/doc/source/reference/c-api.array.rst
@@ -190,7 +190,7 @@ From scratch
.. cfunction:: PyObject* PyArray_NewFromDescr(PyTypeObject* subtype, PyArray_Descr* descr, int nd, npy_intp* dims, npy_intp* strides, void* data, int flags, PyObject* obj)
- This function steals a reference to *descr* if it is not NULL.
+ This function steals a reference to *descr*.
This is the main array creation function. Most new arrays are
created with this flexible function.