(fileobj, encoding)
return parse(fileobj, parser)
Given a file object *fileobj*, get an ElementTree instance.
    The *encoding* is assumed to be utf8.
Given a file object *fileobj*, get an ElementTree instance.
    The *encoding* is assumed to be utf8.
Given a file object * fileobj * get an ElementTree instance . The * encoding * is assumed to be utf8 .
def parse_html(fileobj, encoding):
    """
    Given a file object *fileobj*, get an ElementTree instance.
    The *encoding* is assumed to be utf8.
    """
    parser = HTMLParser(encoding=encoding, remove_blank_text=True)
    return parse(fileobj, parser)
def parse_html ( fileobj , encoding ) : parser = HTMLParser ( encoding = encoding , remove_blank_text = True ) return parse ( fileobj , parser )