summaryrefslogtreecommitdiff
path: root/numpy/core/src/arraymethods.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-01-04 22:37:16 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-01-04 22:37:16 +0000
commit5cfcf93bf09c3a78654099ddcb3b7b184e8d4615 (patch)
tree2ba7ac321aa765f08bc2413f178fd74d4eb8c1ff /numpy/core/src/arraymethods.c
parent490712cd35dcecfc9423de4bde0b29cb012dda25 (diff)
downloadnumpy-5cfcf93bf09c3a78654099ddcb3b7b184e8d4615.tar.gz
More fixes...
Diffstat (limited to 'numpy/core/src/arraymethods.c')
-rw-r--r--numpy/core/src/arraymethods.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/core/src/arraymethods.c b/numpy/core/src/arraymethods.c
index 2e5ea4ee4..7814f1096 100644
--- a/numpy/core/src/arraymethods.c
+++ b/numpy/core/src/arraymethods.c
@@ -848,7 +848,6 @@ _setobject_pkl(PyArrayObject *self, PyObject *list)
return 0;
}
-
static char doc_reduce[] = "a.__reduce__() for pickling.";
static PyObject *
@@ -864,7 +863,7 @@ array_reduce(PyArrayObject *self, PyObject *args)
ret = PyTuple_New(3);
if (ret == NULL) return NULL;
- mod = PyImport_ImportModule("numpy.base._internal");
+ mod = PyImport_ImportModule("numpy.core._internal");
if (mod == NULL) {Py_DECREF(ret); return NULL;}
obj = PyObject_GetAttrString(mod, "_reconstruct");
Py_DECREF(mod);