diff options
author | Travis Oliphant <oliphant@enthought.com> | 2005-09-28 08:45:13 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2005-09-28 08:45:13 +0000 |
commit | 2422edc80a3495a717d02e888f459b2967aacbf9 (patch) | |
tree | bb23b3d71c82263ff6498febb6b0bf750476ea38 /scipy/base/src/arrayobject.c | |
parent | dcd3bd07a910e1bb727e048de0e7ff2443f7285f (diff) | |
download | numpy-2422edc80a3495a717d02e888f459b2967aacbf9.tar.gz |
Altered string and unicode array scalar types so they inherit from Python types first...
Diffstat (limited to 'scipy/base/src/arrayobject.c')
-rw-r--r-- | scipy/base/src/arrayobject.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scipy/base/src/arrayobject.c b/scipy/base/src/arrayobject.c index e1f3a5576..c70c208e5 100644 --- a/scipy/base/src/arrayobject.c +++ b/scipy/base/src/arrayobject.c @@ -1,4 +1,4 @@ -/* + /* Provide multidimensional arrays as a basic object type in python. Based on Original Numeric implementation @@ -4264,7 +4264,7 @@ static char Arraytype__doc__[] = static PyTypeObject PyBigArray_Type = { PyObject_HEAD_INIT(NULL) 0, /*ob_size*/ - "ndbigarray", /*tp_name*/ + "scipy.ndbigarray", /*tp_name*/ sizeof(PyArrayObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -4330,7 +4330,7 @@ static PyTypeObject PyBigArray_Type = { static PyTypeObject PyArray_Type = { PyObject_HEAD_INIT(NULL) 0, /*ob_size*/ - "ndarray", /*tp_name*/ + "scipy.ndarray", /*tp_name*/ sizeof(PyArrayObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ }; @@ -6110,7 +6110,7 @@ static PyMethodDef iter_methods[] = { static PyTypeObject PyArrayIter_Type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ - "ndarray_flat_iter", /* tp_name */ + "scipy.flatiter", /* tp_name */ sizeof(PyArrayIterObject), /* tp_basicsize */ 0, /* tp_itemsize */ /* methods */ @@ -6846,7 +6846,7 @@ static PyMethodDef mapiter_methods[] = { static PyTypeObject PyArrayMapIter_Type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ - "mapiter", /* tp_name */ + "scipy.mapiter", /* tp_name */ sizeof(PyArrayIterObject), /* tp_basicsize */ 0, /* tp_itemsize */ /* methods */ |