summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2017-08-25 20:42:46 +0200
committerPauli Virtanen <pav@iki.fi>2017-08-25 20:43:55 +0200
commit1e3f1ed59c81ea63ae9660b990e95a77fc8c9747 (patch)
tree58e98da12ac4d94702c271910f8bbc6d79f73451 /numpy
parent526a1282650a0ea91d8fa5e914b2257ce1a4964f (diff)
downloadnumpy-1e3f1ed59c81ea63ae9660b990e95a77fc8c9747.tar.gz
BUG: core: fix array_copy_keeporder METH_VARARGS signature
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/multiarray/methods.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/methods.c b/numpy/core/src/multiarray/methods.c
index b60d179fb..efa97dd65 100644
--- a/numpy/core/src/multiarray/methods.c
+++ b/numpy/core/src/multiarray/methods.c
@@ -1070,7 +1070,7 @@ array_copy(PyArrayObject *self, PyObject *args, PyObject *kwds)
/* Separate from array_copy to make __copy__ preserve Fortran contiguity. */
static PyObject *
-array_copy_keeporder(PyArrayObject *self, PyObject *args, PyObject *kwds)
+array_copy_keeporder(PyArrayObject *self, PyObject *args)
{
if (!PyArg_ParseTuple(args, ":__copy__")) {
return NULL;