NUMPY_API * Create a timedelta value from a filled timedelta struct and resolution unit. * * TO BE REMOVED - NOT USED INTERNALLY. */
| 433 | * TO BE REMOVED - NOT USED INTERNALLY. |
| 434 | */ |
| 435 | NPY_NO_EXPORT npy_datetime |
| 436 | PyArray_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 |
nothing calls this directly
no outgoing calls
no test coverage detected