summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-04-15 09:37:12 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-04-15 09:37:12 -0600
commit724f081ed0807c01c706113c89b1cf24a81ada15 (patch)
tree2a1674cb71fb6354373354add984d09bfc081290 /numpy
parent6c47259eec0ec20c1150c2b29994de59a3158964 (diff)
downloadnumpy-724f081ed0807c01c706113c89b1cf24a81ada15.tar.gz
MAINT: Style cleanup of numpy/core/src/multiarray/nditer_pywrap.c.
Small indentation cleanup bringing the method list into standard Numpy form.
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},
};