summaryrefslogtreecommitdiff
path: root/numpy/core/src/arraymethods.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-07-02 02:59:54 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-07-02 02:59:54 +0000
commitda42cda6ebd4666299c1287b8fdec82df15197fe (patch)
tree09b0657a2556c799e67e9e63da70019386a9c80f /numpy/core/src/arraymethods.c
parentc00b40099043644cca23b6044c276ad72e9b8591 (diff)
downloadnumpy-da42cda6ebd4666299c1287b8fdec82df15197fe.tar.gz
Remove dependency on _internal.py from pickles. Clean up Py_ssize_t usage. Add .ctypes attribute for use with the ctypes module if it's available.
Diffstat (limited to 'numpy/core/src/arraymethods.c')
-rw-r--r--numpy/core/src/arraymethods.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/arraymethods.c b/numpy/core/src/arraymethods.c
index d4567401b..352300779 100644
--- a/numpy/core/src/arraymethods.c
+++ b/numpy/core/src/arraymethods.c
@@ -877,7 +877,7 @@ array_reduce(PyArrayObject *self, PyObject *args)
ret = PyTuple_New(3);
if (ret == NULL) return NULL;
- mod = PyImport_ImportModule("numpy.core._internal");
+ mod = PyImport_ImportModule("numpy.core.multiarray");
if (mod == NULL) {Py_DECREF(ret); return NULL;}
obj = PyObject_GetAttrString(mod, "_reconstruct");
Py_DECREF(mod);