diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/src/multiarray/scalartypes.c.src | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/src/multiarray/scalartypes.c.src b/numpy/core/src/multiarray/scalartypes.c.src index 2882a4360..5618e2d19 100644 --- a/numpy/core/src/multiarray/scalartypes.c.src +++ b/numpy/core/src/multiarray/scalartypes.c.src @@ -1529,7 +1529,7 @@ gentype_wraparray(PyObject *NPY_UNUSED(scalar), PyObject *args) */ /**begin repeat * - * #name = tolist, item, __deepcopy__, + * #name = tolist, item, __deepcopy__, __copy__, * swapaxes, conj, conjugate, nonzero, * fill, transpose, newbyteorder# */ @@ -1913,8 +1913,8 @@ static PyMethodDef gentype_methods[] = { /* for the copy module */ {"__copy__", - (PyCFunction)gentype_copy, - METH_VARARGS | METH_KEYWORDS, NULL}, + (PyCFunction)gentype___copy__, + METH_VARARGS, NULL}, {"__deepcopy__", (PyCFunction)gentype___deepcopy__, METH_VARARGS, NULL}, |