Searched refs:StructTimeType (Results 1 – 2 of 2) sorted by relevance
245 static PyTypeObject StructTimeType; variable250 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()
411 static PyTypeObject StructTimeType; variable421 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()