Module Assign NameStore ListLoad Str Str ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias alias alias alias alias ImportFrom alias Assign NameStore Str ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Num Assign NameStore Dict Str Str FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Return AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq SubscriptLoad NameLoad Index Num Str body Return Call NameLoad Call AttributeLoad SubscriptLoad NameLoad Slice Num attr Str Num orelse Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If Call NameLoad NameLoad NameLoad body Expr Yield TupleLoad NameLoad NameLoad NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Expr Yield TupleLoad Call AttributeLoad NameLoad attr Str Str NameLoad NameLoad Assign NameStore UnaryOpNot AttributeLoad NameLoad attr Assign NameStore ListLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Yield TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad While CompareNotEq Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq Call NameLoad NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr name NameStore body Raise Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Dict body Assign NameStore Call NameLoad NameLoad Assign NameStore NameLoad If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Str NameLoad Str Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Return NameLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIn NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body For NameStore Call NameLoad AttributeLoad NameLoad attr body If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Break Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BinOpMod Str NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr name NameStore body Raise Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BinOpMod Str NameLoad decorator_list decorator_list
N/A N/A __all__ N/A LXMLTreeBuilderForXML LXMLTreeBuilder io BytesIO StringIO StringIO N/A collections lxml etree element Comment Doctype NamespacedAttribute builder FAST HTML HTMLTreeBuilder PERMISSIVE ParserRejectedMarkup TreeBuilder XML dammit EncodingDetector N/A LXML lxml LXMLTreeBuilderForXML N/A TreeBuilder N/A N/A DEFAULT_PARSER_CLASS N/A etree XMLParser N/A is_xml True N/A features N/A LXML XML FAST PERMISSIVE N/A CHUNK_SIZE 512 N/A DEFAULT_NSMAPS N/A http://www.w3.org/XML/1998/namespace xml default_parser N/A N/A self encoding N/A N/A N/A N/A N/A self _default_parser None N/A N/A N/A self _default_parser N/A N/A N/A etree XMLParser target self strip_cdata False recover True encoding encoding N/A parser_for N/A N/A self encoding N/A N/A N/A parser N/A N/A self default_parser encoding N/A N/A isinstance parser N/A collections Callable N/A N/A parser N/A parser target self strip_cdata False encoding encoding N/A parser N/A __init__ N/A N/A self parser empty_element_tags N/A None None N/A N/A N/A self _default_parser parser N/A N/A empty_element_tags None N/A N/A N/A self empty_element_tags N/A set empty_element_tags N/A N/A self soup None N/A N/A self nsmaps N/A N/A self DEFAULT_NSMAPS N/A _getNsTag N/A N/A self tag N/A N/A N/A N/A N/A tag N/A 0 { N/A N/A N/A tuple N/A N/A N/A tag N/A 1 split } 1 N/A N/A N/A None tag N/A prepare_markup N/A N/A self markup user_specified_encoding document_declared_encoding N/A None None N/A N/A 
        :yield: A series of 4-tuples.
         (markup, encoding, declared encoding,
          has undergone character replacement)

        Each 4-tuple represents a strategy for parsing the document.
         N/A N/A isinstance markup unicode N/A N/A N/A N/A markup None document_declared_encoding False N/A N/A isinstance markup unicode N/A N/A N/A N/A N/A N/A markup encode utf8 utf8 document_declared_encoding False N/A is_html N/A N/A self is_xml N/A try_encodings N/A user_specified_encoding document_declared_encoding N/A detector N/A EncodingDetector markup try_encodings is_html N/A encoding N/A detector encodings N/A N/A N/A N/A N/A detector markup encoding document_declared_encoding False N/A feed N/A N/A self markup N/A N/A N/A N/A isinstance markup bytes N/A N/A markup N/A BytesIO markup N/A N/A N/A isinstance markup unicode N/A N/A markup N/A StringIO markup N/A data N/A N/A markup read N/A self CHUNK_SIZE N/A N/A N/A N/A self parser N/A N/A self parser_for N/A N/A self soup original_encoding N/A N/A N/A N/A self parser feed data N/A N/A N/A len data 0 N/A N/A data N/A N/A markup read N/A self CHUNK_SIZE N/A N/A N/A len data 0 N/A N/A N/A N/A N/A self parser feed data N/A N/A N/A N/A self parser close N/A N/A N/A N/A UnicodeDecodeError LookupError N/A etree ParserError N/A e N/A N/A N/A ParserRejectedMarkup N/A str e N/A close N/A N/A self N/A N/A N/A N/A self nsmaps N/A N/A self DEFAULT_NSMAPS N/A start N/A N/A self name attrs nsmap N/A N/A N/A N/A attrs N/A dict attrs N/A nsprefix None N/A N/A N/A len N/A self nsmaps 1 N/A N/A N/A N/A N/A self nsmaps append None N/A N/A N/A N/A len nsmap 0 N/A N/A inverted_nsmap N/A dict N/A N/A value key N/A N/A key value N/A N/A nsmap items N/A N/A N/A N/A self nsmaps append inverted_nsmap N/A attrs N/A N/A attrs copy N/A N/A prefix namespace N/A N/A nsmap items N/A N/A attribute N/A NamespacedAttribute xmlns prefix http://www.w3.org/2000/xmlns/ N/A N/A attrs N/A attribute namespace N/A new_attrs N/A N/A N/A attr value N/A N/A attrs items N/A N/A N/A namespace attr N/A N/A self _getNsTag attr N/A N/A namespace None N/A N/A N/A new_attrs N/A attr value N/A N/A nsprefix N/A N/A self _prefix_for_namespace namespace N/A attr N/A NamespacedAttribute nsprefix attr namespace N/A N/A new_attrs N/A attr value N/A attrs new_attrs N/A N/A namespace name N/A N/A self _getNsTag name N/A nsprefix N/A N/A self _prefix_for_namespace namespace N/A N/A N/A N/A self soup handle_starttag name namespace nsprefix attrs N/A _prefix_for_namespace N/A N/A self namespace N/A N/A N/A Find the currently active prefix for the given namespace. N/A N/A namespace None N/A N/A None N/A inverted_nsmap N/A reversed N/A self nsmaps N/A N/A N/A N/A inverted_nsmap None N/A namespace inverted_nsmap N/A N/A N/A inverted_nsmap N/A namespace N/A None N/A end N/A N/A self name N/A N/A N/A N/A N/A N/A self soup endData N/A completed_tag N/A N/A N/A self soup tagStack N/A -1 N/A N/A namespace name N/A N/A self _getNsTag name N/A nsprefix None N/A N/A namespace None N/A N/A inverted_nsmap N/A reversed N/A self nsmaps N/A N/A N/A N/A inverted_nsmap None N/A namespace inverted_nsmap N/A N/A nsprefix N/A inverted_nsmap N/A namespace N/A N/A N/A N/A N/A self soup handle_endtag name nsprefix N/A N/A N/A len N/A self nsmaps 1 N/A N/A N/A N/A N/A self nsmaps pop N/A pi N/A N/A self target data N/A N/A N/A N/A data N/A N/A self content N/A N/A N/A N/A N/A N/A self soup handle_data content N/A doctype N/A N/A self name pubid system N/A N/A N/A N/A N/A N/A self soup endData N/A doctype N/A N/A Doctype for_name_and_ids name pubid system N/A N/A N/A N/A self soup object_was_parsed doctype N/A comment N/A N/A self content N/A N/A N/A Handle comments as Comment objects. N/A N/A N/A N/A self soup endData N/A N/A N/A N/A self soup handle_data content N/A N/A N/A N/A self soup endData Comment N/A test_fragment_to_document N/A N/A self fragment N/A N/A N/A See `TreeBuilder`. N/A N/A <?xml version="1.0" encoding="utf-8"?>
%s fragment N/A N/A LXMLTreeBuilder N/A HTMLTreeBuilder LXMLTreeBuilderForXML N/A N/A features N/A LXML HTML FAST PERMISSIVE N/A is_xml False default_parser N/A N/A self encoding N/A N/A N/A N/A etree HTMLParser N/A feed N/A N/A self markup N/A N/A N/A encoding N/A N/A self soup original_encoding N/A N/A N/A N/A self parser N/A N/A self parser_for encoding N/A N/A N/A N/A self parser feed markup N/A N/A N/A N/A self parser close N/A N/A N/A N/A UnicodeDecodeError LookupError N/A etree ParserError N/A e N/A N/A N/A ParserRejectedMarkup N/A str e N/A test_fragment_to_document N/A N/A self fragment N/A N/A N/A See `TreeBuilder`. N/A N/A <html><body>%s</body></html> fragment N/A N/A