summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api.array.rst
diff options
context:
space:
mode:
authorJulian Taylor <juliantaylor108@gmail.com>2017-07-11 12:42:49 +0200
committerGitHub <noreply@github.com>2017-07-11 12:42:49 +0200
commit4a0f10fcae07ce4dfeef2913425f84549db44a20 (patch)
tree48f8d5fe9864056e58e0f90f4a02060a6f1055a9 /doc/source/reference/c-api.array.rst
parent8294859c4ae8c06608ec89a771a898c41b604dfd (diff)
parent7121a4e9a8710f4b002533acb8b005e2a9773428 (diff)
downloadnumpy-4a0f10fcae07ce4dfeef2913425f84549db44a20.tar.gz
Merge pull request #9389 from jaimefrio/newfromdescr_doc_link
DOC: Fix reference, PyArray_DescrNew -> PyArray_NewFromDescr
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 ad0be871a..e6467de7b 100644
--- a/doc/source/reference/c-api.array.rst
+++ b/doc/source/reference/c-api.array.rst
@@ -257,7 +257,7 @@ From scratch
PyTypeObject* subtype, int nd, npy_intp* dims, int type_num, \
npy_intp* strides, void* data, int itemsize, int flags, PyObject* obj)
- This is similar to :c:func:`PyArray_DescrNew` (...) except you
+ This is similar to :c:func:`PyArray_NewFromDescr` (...) except you
specify the data-type descriptor with *type_num* and *itemsize*,
where *type_num* corresponds to a builtin (or user-defined)
type. If the type always has the same number of bytes, then