Searched refs:PyDateTime_TimeType (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Include/ |
D | datetime.h | 176 #define PyTime_Check(op) PyObject_TypeCheck(op, &PyDateTime_TimeType) 177 #define PyTime_CheckExact(op) (Py_TYPE(op) == &PyDateTime_TimeType)
|
/external/python/cpython2/Doc/c-api/ |
D | datetime.rst | 53 Return true if *ob* is of type :c:data:`PyDateTime_TimeType` or a subtype of 54 :c:data:`PyDateTime_TimeType`. *ob* must not be *NULL*. 61 Return true if *ob* is of type :c:data:`PyDateTime_TimeType`. *ob* must not be
|
/external/python/cpython2/Modules/ |
D | datetimemodule.c | 105 static PyTypeObject PyDateTime_TimeType; variable 722 new_time_ex(hh, mm, ss, us, tzinfo, &PyDateTime_TimeType) 3566 statichere PyTypeObject PyDateTime_TimeType = { variable 4008 &PyDateTime_TimeType, &time)) { in datetime_combine() 4752 &PyDateTime_TimeType, 4782 if (PyType_Ready(&PyDateTime_TimeType) < 0) in initdatetime() 4824 d = PyDateTime_TimeType.tp_dict; in initdatetime() 4870 Py_INCREF(&PyDateTime_TimeType); in initdatetime() 4871 PyModule_AddObject(m, "time", (PyObject *) &PyDateTime_TimeType); in initdatetime()
|