Home
last modified time | relevance | path

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

/external/python/cpython3/Doc/c-api/
Ddatetime.rst66 Return true if *ob* is of type :c:data:`PyDateTime_DeltaType` or a subtype of
67 :c:data:`PyDateTime_DeltaType`. *ob* must not be *NULL*.
72 Return true if *ob* is of type :c:data:`PyDateTime_DeltaType`. *ob* must not be
114 .. c:function:: PyObject* PyTimeZone_FromOffset(PyDateTime_DeltaType* offset)
121 .. c:function:: PyObject* PyTimeZone_FromOffsetAndName(PyDateTime_DeltaType* offset, PyUnicode* nam…
/external/python/cpython2/Include/
Ddatetime.h179 #define PyDelta_Check(op) PyObject_TypeCheck(op, &PyDateTime_DeltaType)
180 #define PyDelta_CheckExact(op) (Py_TYPE(op) == &PyDateTime_DeltaType)
/external/python/cpython2/Doc/c-api/
Ddatetime.rst69 Return true if *ob* is of type :c:data:`PyDateTime_DeltaType` or a subtype of
70 :c:data:`PyDateTime_DeltaType`. *ob* must not be *NULL*.
77 Return true if *ob* is of type :c:data:`PyDateTime_DeltaType`. *ob* must not be
/external/python/cpython3/Include/
Ddatetime.h195 #define PyDelta_Check(op) PyObject_TypeCheck(op, &PyDateTime_DeltaType)
196 #define PyDelta_CheckExact(op) (Py_TYPE(op) == &PyDateTime_DeltaType)
/external/python/cpython2/Modules/
Ddatetimemodule.c104 static PyTypeObject PyDateTime_DeltaType; variable
755 new_delta_ex(d, s, us, normalize, &PyDateTime_DeltaType)
1632 microseconds_to_delta_ex(pymicros, &PyDateTime_DeltaType)
2204 static PyTypeObject PyDateTime_DeltaType = { variable
4755 &PyDateTime_DeltaType,
4782 if (PyType_Ready(&PyDateTime_DeltaType) < 0) in initdatetime()
4790 d = PyDateTime_DeltaType.tp_dict; in initdatetime()
4875 Py_INCREF(&PyDateTime_DeltaType); in initdatetime()
4876 PyModule_AddObject(m, "timedelta", (PyObject *) &PyDateTime_DeltaType); in initdatetime()
/external/python/cpython3/Modules/
D_datetimemodule.c118 static PyTypeObject PyDateTime_DeltaType; variable
1035 new_delta_ex(d, s, us, normalize, &PyDateTime_DeltaType)
1879 microseconds_to_delta_ex(pymicros, &PyDateTime_DeltaType)
2703 static PyTypeObject PyDateTime_DeltaType = { variable
3627 &PyDateTime_DeltaType, &offset, &name)) in timezone_new()
6251 &PyDateTime_DeltaType,
6295 if (PyType_Ready(&PyDateTime_DeltaType) < 0) in PyInit__datetime()
6305 d = PyDateTime_DeltaType.tp_dict; in PyInit__datetime()
6427 Py_INCREF(&PyDateTime_DeltaType); in PyInit__datetime()
6428 PyModule_AddObject(m, "timedelta", (PyObject *) &PyDateTime_DeltaType); in PyInit__datetime()