diff options
Diffstat (limited to 'numpy/core/src')
-rw-r--r-- | numpy/core/src/arrayobject.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c index fe9d67252..d93f82bd0 100644 --- a/numpy/core/src/arrayobject.c +++ b/numpy/core/src/arrayobject.c @@ -4832,8 +4832,12 @@ array_richcompare(PyArrayObject *self, PyObject *other, int cmp_op) return result; } + +/*MULTIARRAY_API + PyArray_CheckAxis +*/ static PyObject * -_check_axis(PyArrayObject *arr, int *axis, int flags) +PyArray_CheckAxis(PyArrayObject *arr, int *axis, int flags) { PyObject *temp1, *temp2; int n = arr->nd; @@ -4875,6 +4879,8 @@ _check_axis(PyArrayObject *arr, int *axis, int flags) return temp2; } +#define _check_axis PyArray_CheckAxis + #include "arraymethods.c" /* Lifted from numarray */ |