This commit is contained in:
Kovid Goyal 2021-10-21 11:20:08 +05:30
parent f9694a218c
commit ba2bd3f01b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
8 changed files with 0 additions and 12 deletions

View File

@ -7,7 +7,6 @@ G{classtree ProtocolError}
"""
class ProtocolError(Exception):
""" The base class for all exceptions in this package """

View File

@ -10,7 +10,6 @@ from bs4 import ( # noqa
)
def parse_html(markup):
from calibre.ebooks.chardet import strip_encoding_declarations, xml_to_unicode, substitute_entites
from calibre.utils.cleantext import clean_xml_chars

View File

@ -1,8 +1,6 @@
#!/usr/bin/env python
# coding: utf-8
__license__ = 'GPL v3'
__copyright__ = '2011, Anthon van der Neut <A.van.der.Neut@ruamel.eu>'

View File

@ -6,7 +6,6 @@ __copyright__ = '2009, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'
def r(*a):
return list(range(*a))

View File

@ -1,6 +1,3 @@
import io
def open_for_read(path):
return open(path, encoding='utf-8', errors='replace')

View File

@ -4,7 +4,6 @@
import sys
class CheckEncoding:
def __init__(self, bug_handler):

View File

@ -7,7 +7,6 @@
from zlib import decompress
class jisyo :
kanwadict = None
itaijidict = None

View File

@ -1,8 +1,6 @@
#!/usr/bin/env python
# vim:fileencoding=utf-8
__license__ = 'GPL v3'
__copyright__ = '2014, Kovid Goyal <kovid at kovidgoyal.net>'