Searched refs:PyDateTime_DeltaType (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Doc/c-api/ |
D | datetime.rst | 66 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 130 .. c:function:: PyObject* PyTimeZone_FromOffset(PyDateTime_DeltaType* offset) 137 .. c:function:: PyObject* PyTimeZone_FromOffsetAndName(PyDateTime_DeltaType* offset, PyUnicode* nam…
|
/external/python/cpython2/Include/ |
D | datetime.h | 179 #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/ |
D | datetime.rst | 69 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/cpython2/Modules/ |
D | datetimemodule.c | 104 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.c | 29 #define PyDelta_Check(op) PyObject_TypeCheck(op, &PyDateTime_DeltaType) 30 #define PyDelta_CheckExact(op) Py_IS_TYPE(op, &PyDateTime_DeltaType) 134 static PyTypeObject PyDateTime_DeltaType; variable 1052 new_delta_ex(d, s, us, normalize, &PyDateTime_DeltaType) 1897 microseconds_to_delta_ex(pymicros, &PyDateTime_DeltaType) 2720 static PyTypeObject PyDateTime_DeltaType = { variable 3865 &PyDateTime_DeltaType, &offset, &name)) in timezone_new() 6492 &PyDateTime_DeltaType, 6543 &PyDateTime_DeltaType, in PyInit__datetime() 6560 d = PyDateTime_DeltaType.tp_dict; in PyInit__datetime()
|