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

Function PyArray_FromDimsAndDataAndDescr

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

NUMPY_API Deprecated, use PyArray_NewFromDescr instead. */

Source from the content-addressed store, hash-verified

2494 Deprecated, use PyArray_NewFromDescr instead.
2495*/
2496NPY_NO_EXPORT PyObject *
2497PyArray_FromDimsAndDataAndDescr(int NPY_UNUSED(nd), int *NPY_UNUSED(d),
2498 PyArray_Descr *descr,
2499 char *NPY_UNUSED(data))
2500{
2501 PyErr_SetString(PyExc_NotImplementedError,
2502 "PyArray_FromDimsAndDataAndDescr: use PyArray_NewFromDescr.");
2503 Py_DECREF(descr);
2504 return NULL;
2505}
2506
2507/*NUMPY_API
2508 Deprecated, use PyArray_SimpleNew instead.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected