1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-20 13:11:27 +02:00

Removed useless cmp function from icu and polyglot

This commit is contained in:
2020-07-05 17:43:42 +02:00
parent df26a45a2e
commit c25c14024f
2 changed files with 7 additions and 16 deletions
-4
View File
@@ -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)