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

Function PyArray_FromDims

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

NUMPY_API Deprecated, use PyArray_SimpleNew instead. */

Source from the content-addressed store, hash-verified

2508 Deprecated, use PyArray_SimpleNew instead.
2509*/
2510NPY_NO_EXPORT PyObject *
2511PyArray_FromDims(int NPY_UNUSED(nd), int *NPY_UNUSED(d), int NPY_UNUSED(type))
2512{
2513 PyErr_SetString(PyExc_NotImplementedError,
2514 "PyArray_FromDims: use PyArray_SimpleNew.");
2515 return NULL;
2516}
2517
2518/* end old calls */
2519

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected