[Numpy-discussion] NA_getType needs to be documented
Edward C. Jones
edcjones at erols.com
Thu Oct 23 18:26:13 CDT 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);
Py_DECREF(temptype);
if (typeno < 0) {
PyErr_Format(PyExc_RuntimeError,
"_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