mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-04-21 05:31:30 +02:00
Removed useless cmp function from icu and polyglot
This commit is contained in:
@@ -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