Lines Matching refs:PyDateTime_Check
25 #define PyDateTime_Check(op) PyObject_TypeCheck(op, &PyDateTime_DateTimeType) macro
1138 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()
5416 if (PyDateTime_Check(right)) { in datetime_subtract()
5690 if (! PyDateTime_Check(other)) { in datetime_richcompare()