summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseberg <sebastian@sipsolutions.net>2014-02-17 10:58:59 +0100
committerseberg <sebastian@sipsolutions.net>2014-02-17 10:58:59 +0100
commit297f54b28e09666ef6a514498c6949aacd4494d5 (patch)
tree58290629c2bde3a95efe0dde9939ca16cd0a56f5
parent25ac48f98e5a12d653963a2da4607ba5cac3bffa (diff)
parenta5000520ff4dcdb15b817d9d85464cdf2b943674 (diff)
downloadnumpy-297f54b28e09666ef6a514498c6949aacd4494d5.tar.gz
Merge pull request #4303 from charris/fix-gh-588
DOC: Typo, replace PyArrayDescr_Check by PyArray_DescrCheck.
-rw-r--r--doc/numpybook/capi.lyx2
-rw-r--r--doc/source/reference/c-api.array.rst2
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 *` ).