💾 Archived View for tris.fyi › pydoc › _markupbase captured on 2022-04-28 at 17:29:13. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-01-08)

➡️ Next capture (2023-01-29)

-=-=-=-=-=-=-

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.
error(self, message)
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)