diff options
author | Yuki <drsuaimqjgar@gmail.com> | 2023-04-30 02:23:38 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-29 10:23:38 -0700 |
commit | 4335727271708352df532e077baa3c118a8dd5ed (patch) | |
tree | 7892362dec59752b043e06c7ddaf7b9a563a8579 /doc/source/reference/c-api | |
parent | 0bc686818d9e08dbd44715d3c9ff8821d677ec88 (diff) | |
download | numpy-4335727271708352df532e077baa3c118a8dd5ed.tar.gz |
DOC: Fix return type of `PyArray_EinsteinSum` (#23684)
The return type `PyArray_EinsteinSum` is `PyArrayObject*`, not
`PyObject*`
Diffstat (limited to 'doc/source/reference/c-api')
-rw-r--r-- | doc/source/reference/c-api/array.rst | 2 |
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 c135fc6eb..baebfdb02 100644 --- a/doc/source/reference/c-api/array.rst +++ b/doc/source/reference/c-api/array.rst @@ -2249,7 +2249,7 @@ Array Functions output array must have the correct shape, type, and be C-contiguous, or an exception is raised. -.. c:function:: PyObject* PyArray_EinsteinSum( \ +.. c:function:: PyArrayObject* PyArray_EinsteinSum( \ char* subscripts, npy_intp nop, PyArrayObject** op_in, \ PyArray_Descr* dtype, NPY_ORDER order, NPY_CASTING casting, \ PyArrayObject* out) |