Lines Matching refs:PyDateTime_Check
23 #define PyDateTime_Check(op) PyObject_TypeCheck(op, &PyDateTime_DateTimeType) macro
1147 if (PyDateTime_Check(self) && HASTZINFO(self)) in get_tzinfo_member()
1471 else if (PyDateTime_Check(object)) in make_freplacement()
3095 if (PyDateTime_Check(left) || PyDateTime_Check(right)) in date_add()
3122 if (PyDateTime_Check(left) || PyDateTime_Check(right)) in date_subtract()
3668 if (!PyDateTime_Check(dt)) { in tzinfo_fromutc()
3904 if (dt == Py_None || PyDateTime_Check(dt)) in _timezone_check_argument()
4006 if (!PyDateTime_Check(dt)) { in timezone_fromutc()
5400 if (PyDateTime_Check(left)) { in datetime_add()
5423 if (PyDateTime_Check(left)) { in datetime_subtract()
5425 if (PyDateTime_Check(right)) { in datetime_subtract()
5699 if (! PyDateTime_Check(other)) { in datetime_richcompare()