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

Function PyArray_TimedeltaStructToTimedelta

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

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

Source from the content-addressed store, hash-verified

433 * TO BE REMOVED - NOT USED INTERNALLY.
434 */
435NPY_NO_EXPORT npy_datetime
436PyArray_TimedeltaStructToTimedelta(
437 NPY_DATETIMEUNIT NPY_UNUSED(fr), npy_timedeltastruct *NPY_UNUSED(d))
438{
439 PyErr_SetString(PyExc_RuntimeError,
440 "The NumPy PyArray_TimedeltaStructToTimedelta function has "
441 "been removed");
442 return -1;
443}
444
445/*
446 * Converts a datetime based on the given metadata into a datetimestruct

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected