Back to module index

Go to module by name

_markupbase

Shared support for scanning document type declarations in HTML and XHTML.

This module is used as a foundation for the html.parser module.  It has no
documented public API and should not be used directly.


Classes

ParserBase

Parser base class which provides some common support methods used
    by the SGML/HTML and XHTML parsers.
getpos(self)

  Return current line number and offset.
parse_comment(self, i, report=1)
parse_declaration(self, i)
parse_marked_section(self, i, report=1)
reset(self)
unknown_decl(self, data)
updatepos(self, i, j)