Markdown Format | JSON API | MCP Server Tool
Help on module _markupbase: NAME _markupbase - Shared support for scanning document type declarations in HTML and XHTML. MODULE REFERENCE https://docs.python.org/3.10/library/_markupbase.html The following documentation is automatically generated from the Python source files. It may be incomplete, incorrect or include features that are considered implementation detail and may vary between Python implementations. When in doubt, consult the module reference at the location listed above. DESCRIPTION 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 builtins.object ParserBase class ParserBase(builtins.object) | Parser base class which provides some common support methods used | by the SGML/HTML and XHTML parsers. | | Methods defined here: | | __init__(self) | Initialize self. See help(type(self)) for accurate signature. | | getpos(self) | Return current line number and offset. | | parse_comment(self, i, report=1) | # Internal -- parse comment, return length or -1 if not terminated | | parse_declaration(self, i) | # Internal -- parse declaration (for use by subclasses). | | parse_marked_section(self, i, report=1) | # Internal -- parse a marked section | # Override this to handle MS-word extension syntax <![if word]>content<![endif]> | | reset(self) | | unknown_decl(self, data) | # To be overridden -- handlers for unknown objects | | updatepos(self, i, j) | # Internal -- update line number and offset. This should be | # called for each piece of data exactly once, in order -- in other | # words the concatenation of all the input strings to this | # function should be exactly the entire input. | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __dict__ | dictionary for instance variables (if defined) | | __weakref__ | list of weak references to the object (if defined) FILE /usr/lib/python3.10/_markupbase.py
Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 05:13 @216.73.216.198 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)