summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api.array.rst
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2014-02-16 12:50:03 -0700
committerCharles Harris <charlesr.harris@gmail.com>2014-02-16 12:50:03 -0700
commita5000520ff4dcdb15b817d9d85464cdf2b943674 (patch)
tree05250c676d8af11912187095590c0ca0d0e8f2df /doc/source/reference/c-api.array.rst
parent2868dc4a0513f58eafc013f3ba3d84ae07113199 (diff)
downloadnumpy-a5000520ff4dcdb15b817d9d85464cdf2b943674.tar.gz
DOC: Typo, replace PyArrayDescr_Check by PyArray_DescrCheck.
Found by trac user komnomnomnom. Closes #588.
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 323ca0655..fcc4e6915 100644
--- a/doc/source/reference/c-api.array.rst
+++ b/doc/source/reference/c-api.array.rst
@@ -2583,7 +2583,7 @@ Data-type descriptors
unless otherwise noted. Therefore, you must own a reference to any
data-type object used as input to such a function.
-.. cfunction:: int PyArrayDescr_Check(PyObject* obj)
+.. cfunction:: int PyArray_DescrCheck(PyObject* obj)
Evaluates as true if *obj* is a data-type object ( :ctype:`PyArray_Descr *` ).