From 2422edc80a3495a717d02e888f459b2967aacbf9 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Wed, 28 Sep 2005 08:45:13 +0000 Subject: Altered string and unicode array scalar types so they inherit from Python types first... --- scipy/base/src/arrayobject.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scipy/base/src/arrayobject.c') 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 */ -- cgit v1.2.1