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

Function numpy_pydatetime_import

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

* Imports the PyDateTime functions so we can create these objects. * This is called during module initialization */

Source from the content-addressed store, hash-verified

73 * This is called during module initialization
74 */
75NPY_NO_EXPORT void
76numpy_pydatetime_import(void)
77{
78 PyDateTime_IMPORT;
79}
80
81/* Exported as DATETIMEUNITS in multiarraymodule.c */
82NPY_NO_EXPORT char const *_datetime_strings[NPY_DATETIME_NUMUNITS] = {

Callers 1

PyInit__multiarray_umathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected