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

Function PyArray_DatetimeStructToDatetime

numpy/core/src/multiarray/datetime.c:420–428  ·  view source on GitHub ↗

NUMPY_API * Create a datetime value from a filled datetime struct and resolution unit. * * TO BE REMOVED - NOT USED INTERNALLY. */

Source from the content-addressed store, hash-verified

418 * TO BE REMOVED - NOT USED INTERNALLY.
419 */
420NPY_NO_EXPORT npy_datetime
421PyArray_DatetimeStructToDatetime(
422 NPY_DATETIMEUNIT NPY_UNUSED(fr), npy_datetimestruct *NPY_UNUSED(d))
423{
424 PyErr_SetString(PyExc_RuntimeError,
425 "The NumPy PyArray_DatetimeStructToDatetime function has "
426 "been removed");
427 return -1;
428}
429
430/*NUMPY_API
431 * Create a timedelta value from a filled timedelta struct and resolution unit.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected