Lines Matching refs:_cmp
16 def _cmp(x, y):
838 return self._cmp(other) == 0
844 return self._cmp(other) <= 0
850 return self._cmp(other) < 0
856 return self._cmp(other) >= 0
862 return self._cmp(other) > 0
866 def _cmp(self, other):
868 return _cmp(self._getstate(), other._getstate())
1106 return self._cmp(other) == 0
1111 return self._cmp(other) <= 0
1116 return self._cmp(other) < 0
1121 return self._cmp(other) >= 0
1126 return self._cmp(other) > 0
1129 def _cmp(self, other):
1133 return _cmp((y, m, d), (y2, m2, d2))
1415 return self._cmp(other, allow_mixed=True) == 0
1421 return self._cmp(other) <= 0
1427 return self._cmp(other) < 0
1433 return self._cmp(other) >= 0
1439 return self._cmp(other) > 0
1443 def _cmp(self, other, allow_mixed=False):
1457 return _cmp((self._hour, self._minute, self._second,
1468 return _cmp((myhhmm, self._second, self._microsecond),
2106 return self._cmp(other, allow_mixed=True) == 0
2114 return self._cmp(other) <= 0
2122 return self._cmp(other) < 0
2130 return self._cmp(other) >= 0
2138 return self._cmp(other) > 0
2144 def _cmp(self, other, allow_mixed=False):
2164 return _cmp((self._year, self._month, self._day,
2627 _check_tzinfo_arg, _check_tzname, _check_utc_offset, _cmp, _cmperror,