class documentation

class AnnouncingParser(HTMLParser): (source)

View In Hierarchy

Subclass of HTMLParser that announces parse events, without doing anything else. You can use this to get a picture of how html.parser sees a given document. The easiest way to do this is to call `htmlparser_trace`.

Method handle_charref Undocumented
Method handle_comment Undocumented
Method handle_data Undocumented
Method handle_decl Undocumented
Method handle_endtag Undocumented
Method handle_entityref Undocumented
Method handle_pi Undocumented
Method handle_starttag Undocumented
Method unknown_decl Undocumented
Method _p Undocumented
def handle_charref(self, name): (source)

Undocumented

def handle_comment(self, data): (source)

Undocumented

def handle_data(self, data): (source)

Undocumented

def handle_decl(self, data): (source)

Undocumented

def handle_endtag(self, name): (source)

Undocumented

def handle_entityref(self, name): (source)

Undocumented

def handle_pi(self, data): (source)

Undocumented

def handle_starttag(self, name, attrs): (source)

Undocumented

def unknown_decl(self, data): (source)

Undocumented

def _p(self, s): (source)

Undocumented