MCPcopy Create free account
hub / github.com/numpy/numpy / PyArray_FromArrayAttr

Function PyArray_FromArrayAttr

numpy/core/src/multiarray/ctors.c:2452–2461  ·  view source on GitHub ↗

NUMPY_API */

Source from the content-addressed store, hash-verified

2450/*NUMPY_API
2451 */
2452NPY_NO_EXPORT PyObject *
2453PyArray_FromArrayAttr(PyObject *op, PyArray_Descr *typecode, PyObject *context)
2454{
2455 if (context != NULL) {
2456 PyErr_SetString(PyExc_RuntimeError, "'context' must be NULL");
2457 return NULL;
2458 }
2459
2460 return PyArray_FromArrayAttr_int(op, typecode, 0);
2461}
2462
2463
2464/*NUMPY_API

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected