[Numpy-discussion] NA_getType needs to be documented

Edward C. Jones edcjones at erols.com
Thu Oct 23 18:26:13 EDT 2003

"NA_getType" needs to be documented. The following is useful:

     if (!PyArg_ParseTuple(args, "O", &type))
         return NULL;

     temptype = NA_getType(type);
     if (temptype == NULL) return NULL;
     typeno = NA_typeObjectToTypeNo(temptype);
     if (typeno < 0) {
                  "_numarray_init: can't get typeno for type");
         return NULL;

Do other functions in "libnumarraymodule.c" need to be documented?

More information about the NumPy-Discussion mailing list