Home
last modified time | relevance | path

Searched refs:PyTZInfo_Check (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Include/
Ddatetime.h182 #define PyTZInfo_Check(op) PyObject_TypeCheck(op, &PyDateTime_TZInfoType) macro
206 #define PyTZInfo_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->TZInfoType) macro
/external/python/cpython3/Include/
Ddatetime.h210 #define PyTZInfo_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->TZInfoType) macro
/external/python/cpython2/Doc/c-api/
Ddatetime.rst83 .. c:function:: int PyTZInfo_Check(PyObject *ob)
/external/python/cpython3/Doc/c-api/
Ddatetime.rst76 .. c:function:: int PyTZInfo_Check(PyObject *ob)
/external/python/cpython3/Modules/
D_datetimemodule.c32 #define PyTZInfo_Check(op) PyObject_TypeCheck(op, &PyDateTime_TZInfoType) macro
1129 if (p == Py_None || PyTZInfo_Check(p)) in check_tzinfo_subclass()
1168 assert(PyTZInfo_Check(tzinfo) || tzinfo == Py_None); in call_tzinfo_method()
D_testcapimodule.c2353 MAKE_DATETIME_CHECK_FUNC(PyTZInfo_Check, PyTZInfo_CheckExact) in datetime_check_tzinfo()
/external/python/cpython2/Modules/
Ddatetimemodule.c767 if (p == Py_None || PyTZInfo_Check(p)) in check_tzinfo_subclass()
828 assert(PyTZInfo_Check(tzinfo)); in call_utc_tzinfo_method()