Searched refs:PyDateTime_TZInfoType (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Include/ |
D | datetime.h | 182 #define PyTZInfo_Check(op) PyObject_TypeCheck(op, &PyDateTime_TZInfoType) 183 #define PyTZInfo_CheckExact(op) (Py_TYPE(op) == &PyDateTime_TZInfoType)
|
/external/python/cpython2/Doc/c-api/ |
D | datetime.rst | 85 Return true if *ob* is of type :c:data:`PyDateTime_TZInfoType` or a subtype of 86 :c:data:`PyDateTime_TZInfoType`. *ob* must not be *NULL*. 93 Return true if *ob* is of type :c:data:`PyDateTime_TZInfoType`. *ob* must not be
|
/external/python/cpython3/Include/ |
D | datetime.h | 198 #define PyTZInfo_Check(op) PyObject_TypeCheck(op, &PyDateTime_TZInfoType) 199 #define PyTZInfo_CheckExact(op) (Py_TYPE(op) == &PyDateTime_TZInfoType)
|
/external/python/cpython3/Doc/c-api/ |
D | datetime.rst | 78 Return true if *ob* is of type :c:data:`PyDateTime_TZInfoType` or a subtype of 79 :c:data:`PyDateTime_TZInfoType`. *ob* must not be *NULL*. 84 Return true if *ob* is of type :c:data:`PyDateTime_TZInfoType`. *ob* must not be
|
/external/python/cpython2/Modules/ |
D | datetimemodule.c | 106 static PyTypeObject PyDateTime_TZInfoType; variable 3046 statichere PyTypeObject PyDateTime_TZInfoType = { variable 4425 &PyDateTime_TZInfoType, &tzinfo)) in datetime_astimezone() 4756 &PyDateTime_TZInfoType, 4786 if (PyType_Ready(&PyDateTime_TZInfoType) < 0) in initdatetime() 4878 Py_INCREF(&PyDateTime_TZInfoType); in initdatetime() 4879 PyModule_AddObject(m, "tzinfo", (PyObject *) &PyDateTime_TZInfoType); in initdatetime()
|
/external/python/cpython3/Modules/ |
D | _datetimemodule.c | 120 static PyTypeObject PyDateTime_TZInfoType; variable 3577 static PyTypeObject PyDateTime_TZInfoType = { variable 3847 &PyDateTime_TZInfoType, /* tp_base */ 6252 &PyDateTime_TZInfoType, 6299 if (PyType_Ready(&PyDateTime_TZInfoType) < 0) in PyInit__datetime() 6430 Py_INCREF(&PyDateTime_TZInfoType); in PyInit__datetime() 6431 PyModule_AddObject(m, "tzinfo", (PyObject *) &PyDateTime_TZInfoType); in PyInit__datetime()
|