summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/multiarray/nditer_pywrap.c34
1 files changed, 24 insertions, 10 deletions
diff --git a/numpy/core/src/multiarray/nditer_pywrap.c b/numpy/core/src/multiarray/nditer_pywrap.c
index 61f0c42b6..3ef53a71b 100644
--- a/numpy/core/src/multiarray/nditer_pywrap.c
+++ b/numpy/core/src/multiarray/nditer_pywrap.c
@@ -2313,16 +2313,30 @@ npyiter_ass_subscript(NewNpyArrayIterObject *self, PyObject *op,
}
static PyMethodDef npyiter_methods[] = {
- {"reset", (PyCFunction)npyiter_reset, METH_NOARGS, NULL},
- {"copy", (PyCFunction)npyiter_copy, METH_NOARGS, NULL},
- {"__copy__", (PyCFunction)npyiter_copy, METH_NOARGS, NULL},
- {"iternext", (PyCFunction)npyiter_iternext, METH_NOARGS, NULL},
- {"remove_axis", (PyCFunction)npyiter_remove_axis, METH_VARARGS, NULL},
- {"remove_multi_index", (PyCFunction)npyiter_remove_multi_index,
- METH_NOARGS, NULL},
- {"enable_external_loop", (PyCFunction)npyiter_enable_external_loop,
- METH_NOARGS, NULL},
- {"debug_print", (PyCFunction)npyiter_debug_print, METH_NOARGS, NULL},
+ {"reset",
+ (PyCFunction)npyiter_reset,
+ METH_NOARGS, NULL},
+ {"copy",
+ (PyCFunction)npyiter_copy,
+ METH_NOARGS, NULL},
+ {"__copy__",
+ (PyCFunction)npyiter_copy,
+ METH_NOARGS, NULL},
+ {"iternext",
+ (PyCFunction)npyiter_iternext,
+ METH_NOARGS, NULL},
+ {"remove_axis",
+ (PyCFunction)npyiter_remove_axis,
+ METH_VARARGS, NULL},
+ {"remove_multi_index",
+ (PyCFunction)npyiter_remove_multi_index,
+ METH_NOARGS, NULL},
+ {"enable_external_loop",
+ (PyCFunction)npyiter_enable_external_loop,
+ METH_NOARGS, NULL},
+ {"debug_print",
+ (PyCFunction)npyiter_debug_print,
+ METH_NOARGS, NULL},
{NULL, NULL, 0, NULL},
};