summaryrefslogtreecommitdiff
path: root/numpy/core/src/arraymethods.c
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/src/arraymethods.c')
-rw-r--r--numpy/core/src/arraymethods.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/core/src/arraymethods.c b/numpy/core/src/arraymethods.c
index b7411ea8e..5e3a3c334 100644
--- a/numpy/core/src/arraymethods.c
+++ b/numpy/core/src/arraymethods.c
@@ -11,7 +11,6 @@ array_take(PyArrayObject *self, PyObject *args, PyObject *kwds)
NPY_CLIPMODE mode=NPY_RAISE;
static char *kwlist[] = {"indices", "axis", "out", "mode", NULL};
- dimension=0;
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O&O&O&", kwlist,
&indices, PyArray_AxisConverter,
&dimension,