NUMPY_API */
| 2450 | /*NUMPY_API |
| 2451 | */ |
| 2452 | NPY_NO_EXPORT PyObject * |
| 2453 | PyArray_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 |
nothing calls this directly
no test coverage detected