diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2014-02-16 12:50:03 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2014-02-16 12:50:03 -0700 |
commit | a5000520ff4dcdb15b817d9d85464cdf2b943674 (patch) | |
tree | 05250c676d8af11912187095590c0ca0d0e8f2df | |
parent | 2868dc4a0513f58eafc013f3ba3d84ae07113199 (diff) | |
download | numpy-a5000520ff4dcdb15b817d9d85464cdf2b943674.tar.gz |
DOC: Typo, replace PyArrayDescr_Check by PyArray_DescrCheck.
Found by trac user komnomnomnom.
Closes #588.
-rw-r--r-- | doc/numpybook/capi.lyx | 2 | ||||
-rw-r--r-- | doc/source/reference/c-api.array.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/numpybook/capi.lyx b/doc/numpybook/capi.lyx index a5c835523..b14d5c4f5 100644 --- a/doc/numpybook/capi.lyx +++ b/doc/numpybook/capi.lyx @@ -13529,7 +13529,7 @@ PyArray_Descr* \end_layout \begin_layout Description -PyArrayDescr_Check ( +PyArray_DescrCheck ( \family typewriter int \family default 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 *` ). |