summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2023-03-31 20:59:07 -0400
committerGitHub <noreply@github.com>2023-03-31 20:59:07 -0400
commitf18a2baee84a906d2a6b61d987543cdff7ea98fd (patch)
treee62747d86ad636b0eb98ee2b6676e2755f4f63a2 /numpy
parent7131db4b4b98f9251cf5932fd052d8cdffddeff2 (diff)
parentb45b8b2b4a6a4a1342add463fd586254753a0989 (diff)
downloadnumpy-f18a2baee84a906d2a6b61d987543cdff7ea98fd.tar.gz
Merge pull request #23504 from seberg/decref-del
DOC: Remove doc for non-existing `PyArray_XDECREF_ERR`
Diffstat (limited to 'numpy')
-rw-r--r--numpy/__init__.cython-30.pxd1
-rw-r--r--numpy/__init__.pxd1
-rw-r--r--numpy/core/src/multiarray/ctors.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/numpy/__init__.cython-30.pxd b/numpy/__init__.cython-30.pxd
index ec4c563ad..0dd2fff2b 100644
--- a/numpy/__init__.cython-30.pxd
+++ b/numpy/__init__.cython-30.pxd
@@ -515,7 +515,6 @@ cdef extern from "numpy/arrayobject.h":
void* PyArray_GETPTR3(ndarray m, npy_intp i, npy_intp j, npy_intp k) nogil
void* PyArray_GETPTR4(ndarray m, npy_intp i, npy_intp j, npy_intp k, npy_intp l) nogil
- void PyArray_XDECREF_ERR(ndarray)
# Cannot be supported due to out arg
# void PyArray_DESCR_REPLACE(descr)
diff --git a/numpy/__init__.pxd b/numpy/__init__.pxd
index a6990cc68..47d9294c1 100644
--- a/numpy/__init__.pxd
+++ b/numpy/__init__.pxd
@@ -473,7 +473,6 @@ cdef extern from "numpy/arrayobject.h":
void* PyArray_GETPTR3(ndarray m, npy_intp i, npy_intp j, npy_intp k) nogil
void* PyArray_GETPTR4(ndarray m, npy_intp i, npy_intp j, npy_intp k, npy_intp l) nogil
- void PyArray_XDECREF_ERR(ndarray)
# Cannot be supported due to out arg
# void PyArray_DESCR_REPLACE(descr)
diff --git a/numpy/core/src/multiarray/ctors.c b/numpy/core/src/multiarray/ctors.c
index 84d6e80af..a6335c783 100644
--- a/numpy/core/src/multiarray/ctors.c
+++ b/numpy/core/src/multiarray/ctors.c
@@ -1919,7 +1919,6 @@ PyArray_FromAny_int(PyObject *op, PyArray_Descr *in_descr,
* NPY_ARRAY_FORCECAST will cause a cast to occur regardless of whether or not
* it is safe.
*
- * context is passed through to PyArray_GetArrayParamsFromObject
*/
/*NUMPY_API