71f5f54631a42e8c33ac1945b57ff92066bc0496
[python-collate.git] / collate / _abcollator.py
1 class Collator(object):
2 def cmp(self, string1, string2):
3 """Return negative if a < b, zero if a == b, positive if a > b."""
4 return cmp(self.key(string1), self.key(string2))