diff options
Diffstat (limited to 'doc')
-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 *` ). |