diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-04-24 21:24:18 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-04-24 21:24:18 +0200 |
commit | cb045e9330b81c3b002339cac8213f568f7650f7 (patch) | |
tree | 697143fbd8c3ae5b042f4bc6230ec792a5a2385e /doc/source/reference/c-api.array.rst | |
parent | 999753f85153ae68536aebe9f51ee3ff02b950bc (diff) | |
download | numpy-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.rst | 2 |
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. |