summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api.array.rst
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2014-05-01 08:02:52 -0600
committerCharles Harris <charlesr.harris@gmail.com>2014-05-01 08:02:52 -0600
commit63df267fcd5acaf7fc1408dbfef9cc7f53929530 (patch)
treec02de320bdc57f77cff8878e5dadc4953a54dd07 /doc/source/reference/c-api.array.rst
parent0c9f285f38ea4d143c5e79badd0d36cb808242a6 (diff)
parent64af3fdd0fac08e01877a56faff5f3c6d4ac3a1b (diff)
downloadnumpy-63df267fcd5acaf7fc1408dbfef9cc7f53929530.tar.gz
Merge pull request #4637 from juliantaylor/api-annotate
annotate reference semantics of c-api
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.