1
0
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:
2020-07-05 17:11:03 +02:00
parent 111854f686
commit 77e0f7bf2f
2 changed files with 0 additions and 42 deletions
-16
View File
@@ -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