Home
last modified time | relevance | path

Searched refs:StructTimeType (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Dtimemodule.c245 static PyTypeObject StructTimeType; variable
250 PyObject *v = PyStructSequence_New(&StructTimeType); in tmtotuple()
981 PyStructSequence_InitType(&StructTimeType, in inittime()
984 Py_INCREF(&StructTimeType); in inittime()
985 PyModule_AddObject(m, "struct_time", (PyObject*) &StructTimeType); in inittime()
/external/python/cpython3/Modules/
Dtimemodule.c411 static PyTypeObject StructTimeType; variable
421 PyObject *v = PyStructSequence_New(&StructTimeType); in tmtotuple()
582 if (Py_TYPE(args) == &StructTimeType) { in gettmarg()
1788 if (PyStructSequence_InitType2(&StructTimeType, in PyInit_time()
1792 Py_INCREF(&StructTimeType); in PyInit_time()
1794 PyModule_AddObject(m, "struct_time", (PyObject*) &StructTimeType); in PyInit_time()