class documentation

class Parser(HTMLParser):

View In Hierarchy

Undocumented

Constant SELF​_CLOSING​_TAGS Undocumented
Method __init__ Undocumented
Method error Undocumented
Method format​_position Undocumented
Method handle​_data Undocumented
Method handle​_endtag Undocumented
Method handle​_startendtag Undocumented
Method handle​_starttag Undocumented
Instance Variable element​_positions Undocumented
Instance Variable open​_tags Undocumented
Instance Variable root Undocumented
Property current Undocumented
SELF_CLOSING_TAGS: set[str] =

Undocumented

Value
set(['area',
     'base',
     'br',
     'col',
     'embed',
     'hr',
     'img',
...
def __init__(self):

Undocumented

def error(self, msg):

Undocumented

def format_position(self, position=None, element=None):

Undocumented

def handle_data(self, data):

Undocumented

def handle_endtag(self, tag):

Undocumented

def handle_startendtag(self, tag, attrs):

Undocumented

def handle_starttag(self, tag, attrs):

Undocumented

element_positions: dict =

Undocumented

open_tags: list =

Undocumented

root =

Undocumented

@property
current =

Undocumented