Home
last modified time | relevance | path

Searched refs:PyDateTime_TimeType (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Include/
Ddatetime.h176 #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/
Ddatetime.rst53 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/cpython3/Include/
Ddatetime.h192 #define PyTime_Check(op) PyObject_TypeCheck(op, &PyDateTime_TimeType)
193 #define PyTime_CheckExact(op) (Py_TYPE(op) == &PyDateTime_TimeType)
/external/python/cpython3/Doc/c-api/
Ddatetime.rst54 Return true if *ob* is of type :c:data:`PyDateTime_TimeType` or a subtype of
55 :c:data:`PyDateTime_TimeType`. *ob* must not be *NULL*.
60 Return true if *ob* is of type :c:data:`PyDateTime_TimeType`. *ob* must not be
/external/python/cpython2/Modules/
Ddatetimemodule.c105 static PyTypeObject PyDateTime_TimeType; variable
722 new_time_ex(hh, mm, ss, us, tzinfo, &PyDateTime_TimeType)
3570 statichere PyTypeObject PyDateTime_TimeType = { variable
4011 &PyDateTime_TimeType, &time)) { in datetime_combine()
4754 &PyDateTime_TimeType,
4784 if (PyType_Ready(&PyDateTime_TimeType) < 0) in initdatetime()
4826 d = PyDateTime_TimeType.tp_dict; in initdatetime()
4872 Py_INCREF(&PyDateTime_TimeType); in initdatetime()
4873 PyModule_AddObject(m, "time", (PyObject *) &PyDateTime_TimeType); in initdatetime()
/external/python/cpython3/Modules/
D_datetimemodule.c119 static PyTypeObject PyDateTime_TimeType; variable
1002 new_time_ex2(hh, mm, ss, us, tzinfo, fold, &PyDateTime_TimeType)
4376 if ( (PyTypeObject *)cls == &PyDateTime_TimeType ) { in time_fromisoformat()
4479 static PyTypeObject PyDateTime_TimeType = { variable
4951 &PyDateTime_TimeType, &time, &tzinfo)) { in datetime_combine()
6250 &PyDateTime_TimeType,
6297 if (PyType_Ready(&PyDateTime_TimeType) < 0) in PyInit__datetime()
6341 d = PyDateTime_TimeType.tp_dict; in PyInit__datetime()
6424 Py_INCREF(&PyDateTime_TimeType); in PyInit__datetime()
6425 PyModule_AddObject(m, "time", (PyObject *) &PyDateTime_TimeType); in PyInit__datetime()