Lines Matching defs:__cmp__
23 def __cmp__(self, other):211 self.assertRaises(TypeError, self.s.__cmp__, self.s)1015 # because __eq__ is tried before __cmp__, and a.__eq__(a) returns True,1017 # without calling __cmp__.