Lines Matching refs:__cmp__
161 # this __cmp__ is used as a helper function for the rich comparison
163 # __cmp__ defined; pylint: disable=W1630
164 def __cmp__(self, other):
202 """redefine in terms of __cmp__()"""
203 return (Facets.__cmp__(self, other) == 0)
206 """redefine in terms of __cmp__()"""
207 return (Facets.__cmp__(self, other) != 0)
210 """redefine in terms of __cmp__()"""
211 return (Facets.__cmp__(self, other) >= 0)
214 """redefine in terms of __cmp__()"""
215 return (Facets.__cmp__(self, other) > 0)
218 """redefine in terms of __cmp__()"""
219 return (Facets.__cmp__(self, other) <= 0)
222 """redefine in terms of __cmp__()"""
223 return (Facets.__cmp__(self, other) < 0)