X-Git-Url: https://git.korewanetadesu.com/?p=python-collate.git;a=blobdiff_plain;f=collate%2F_abcollator.py;h=71f5f54631a42e8c33ac1945b57ff92066bc0496;hp=094a5debbbd7e155d09efe8fca6db85b3435e3b3;hb=c519e411927761939a0461bdf8d0a12b26d965e9;hpb=712ad12a7b2bee93aeb464d2d1ad46a40ddc010f diff --git a/collate/_abcollator.py b/collate/_abcollator.py index 094a5de..71f5f54 100644 --- a/collate/_abcollator.py +++ b/collate/_abcollator.py @@ -1,5 +1,4 @@ class Collator(object): def cmp(self, string1, string2): + """Return negative if a < b, zero if a == b, positive if a > b.""" return cmp(self.key(string1), self.key(string2)) - -