Removed useless cmp function from icu and polyglot
This commit is contained in:
1 parent
df26a45a2e
commit
c25c14024f
2 files changed
+7
-16
No files matched your search
@@ -11,7 +11,3 @@ def as_bytes(x, encoding='utf-8'):
|
||||
if isinstance(x, memoryview):
|
||||
return x.tobytes()
|
||||
return str(x).encode(encoding)
|
||||
|
||||
|
||||
def cmp(a, b):
|
||||
return (a > b) - (a < b)
|
||||
Reference in new issue
Block a user