Home
last modified time | relevance | path

Searched refs:PyDateTime_TZInfoType (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Include/
Ddatetime.h182 #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/
Ddatetime.rst85 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/cpython2/Modules/
Ddatetimemodule.c106 static PyTypeObject PyDateTime_TZInfoType; variable
3041 statichere PyTypeObject PyDateTime_TZInfoType = { variable
4422 &PyDateTime_TZInfoType, &tzinfo)) in datetime_astimezone()
4754 &PyDateTime_TZInfoType,
4784 if (PyType_Ready(&PyDateTime_TZInfoType) < 0) in initdatetime()
4876 Py_INCREF(&PyDateTime_TZInfoType); in initdatetime()
4877 PyModule_AddObject(m, "tzinfo", (PyObject *) &PyDateTime_TZInfoType); in initdatetime()