mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-04-20 21:21:35 +02:00
Removed unused functions/structs
This commit is contained in:
@@ -38,19 +38,3 @@ def int_to_byte(x):
|
||||
|
||||
def reload(module):
|
||||
return importlib.reload(module)
|
||||
|
||||
|
||||
def print_to_binary_file(fileobj, encoding='utf-8'):
|
||||
|
||||
def print(*a, **kw):
|
||||
f = kw.get('file', fileobj)
|
||||
if a:
|
||||
sep = as_bytes(kw.get('sep', ' '), encoding)
|
||||
for x in a:
|
||||
x = as_bytes(x, encoding)
|
||||
f.write(x)
|
||||
if x is not a[-1]:
|
||||
f.write(sep)
|
||||
f.write(as_bytes(kw.get('end', '\n')))
|
||||
|
||||
return print
|
||||
|
||||
Reference in New Issue
Block a user