Searched refs:PyDateTime_Check (Results 1 – 6 of 6) sorted by relevance
25 #define PyDateTime_Check(op) PyObject_TypeCheck(op, &PyDateTime_DateTimeType) macro1138 if (PyDateTime_Check(self) && HASTZINFO(self)) in get_tzinfo_member()1462 else if (PyDateTime_Check(object)) in make_freplacement()3086 if (PyDateTime_Check(left) || PyDateTime_Check(right)) in date_add()3113 if (PyDateTime_Check(left) || PyDateTime_Check(right)) in date_subtract()3659 if (!PyDateTime_Check(dt)) { in tzinfo_fromutc()3895 if (dt == Py_None || PyDateTime_Check(dt)) in _timezone_check_argument()3997 if (!PyDateTime_Check(dt)) { in timezone_fromutc()5391 if (PyDateTime_Check(left)) { in datetime_add()5414 if (PyDateTime_Check(left)) { in datetime_subtract()[all …]
496 if (!PyDateTime_Check(dt)) { in zoneinfo_fromutc()
2489 MAKE_DATETIME_CHECK_FUNC(PyDateTime_Check, PyDateTime_CheckExact) in datetime_check_datetime()
209 #define PyDateTime_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DateTimeType) macro
41 .. c:function:: int PyDateTime_Check(PyObject *ob)
419 PyDateTime_Check:int:::420 PyDateTime_Check:PyObject*:ob:0: