Lines Matching refs:_cmp
11 def _cmp(x, y): function
719 return self._cmp(other) == 0
725 return self._cmp(other) <= 0
731 return self._cmp(other) < 0
737 return self._cmp(other) >= 0
743 return self._cmp(other) > 0
747 def _cmp(self, other): member in timedelta
749 return _cmp(self._getstate(), other._getstate())
975 return self._cmp(other) == 0
980 return self._cmp(other) <= 0
985 return self._cmp(other) < 0
990 return self._cmp(other) >= 0
995 return self._cmp(other) > 0
998 def _cmp(self, other): member in date
1002 return _cmp((y, m, d), (y2, m2, d2))
1262 return self._cmp(other, allow_mixed=True) == 0
1268 return self._cmp(other) <= 0
1274 return self._cmp(other) < 0
1280 return self._cmp(other) >= 0
1286 return self._cmp(other) > 0
1290 def _cmp(self, other, allow_mixed=False): member in time
1304 return _cmp((self._hour, self._minute, self._second,
1315 return _cmp((myhhmm, self._second, self._microsecond),
1946 return self._cmp(other, allow_mixed=True) == 0
1954 return self._cmp(other) <= 0
1962 return self._cmp(other) < 0
1970 return self._cmp(other) >= 0
1978 return self._cmp(other) > 0
1984 def _cmp(self, other, allow_mixed=False): member in datetime
2004 return _cmp((self._year, self._month, self._day,
2462 _check_tzinfo_arg, _check_tzname, _check_utc_offset, _cmp, _cmperror,