diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-07-02 02:59:54 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-07-02 02:59:54 +0000 |
commit | da42cda6ebd4666299c1287b8fdec82df15197fe (patch) | |
tree | 09b0657a2556c799e67e9e63da70019386a9c80f /numpy/core/src/arraymethods.c | |
parent | c00b40099043644cca23b6044c276ad72e9b8591 (diff) | |
download | numpy-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.c | 2 |
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); |