{
    "mode": "pydoc",
    "parameter": "_markupbase",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/pydoc/_markupbase/json",
    "generated": "2026-06-02T15:50:48Z",
    "sections": {
        "NAME": {
            "content": "markupbase - Shared support for scanning document type declarations in HTML and XHTML.\n",
            "subsections": []
        },
        "MODULE REFERENCE": {
            "content": "https://docs.python.org/3.10/library/markupbase.html\n\nThe following documentation is automatically generated from the Python\nsource files.  It may be incomplete, incorrect or include features that\nare considered implementation detail and may vary between Python\nimplementations.  When in doubt, consult the module reference at the\nlocation listed above.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This module is used as a foundation for the html.parser module.  It has no\ndocumented public API and should not be used directly.\n",
            "subsections": []
        },
        "CLASSES": {
            "content": "builtins.object\nParserBase\n",
            "subsections": [
                {
                    "name": "class ParserBase",
                    "content": "|  Parser base class which provides some common support methods used\n|  by the SGML/HTML and XHTML parsers.\n|\n|  Methods defined here:\n|\n|  init(self)\n|      Initialize self.  See help(type(self)) for accurate signature.\n|\n|  getpos(self)\n|      Return current line number and offset.\n|\n|  parsecomment(self, i, report=1)\n|      # Internal -- parse comment, return length or -1 if not terminated\n|\n|  parsedeclaration(self, i)\n|      # Internal -- parse declaration (for use by subclasses).\n|\n|  parsemarkedsection(self, i, report=1)\n|      # Internal -- parse a marked section\n|      # Override this to handle MS-word extension syntax <![if word]>content<![endif]>\n|\n|  reset(self)\n|\n|  unknowndecl(self, data)\n|      # To be overridden -- handlers for unknown objects\n|\n|  updatepos(self, i, j)\n|      # Internal -- update line number and offset.  This should be\n|      # called for each piece of data exactly once, in order -- in other\n|      # words the concatenation of all the input strings to this\n|      # function should be exactly the entire input.\n|\n|  ----------------------------------------------------------------------\n|  Data descriptors defined here:\n|\n|  dict\n|      dictionary for instance variables (if defined)\n|\n|  weakref\n|      list of weak references to the object (if defined)\n"
                }
            ]
        },
        "FILE": {
            "content": "/usr/lib/python3.10/markupbase.py\n\n",
            "subsections": []
        }
    },
    "summary": "markupbase - Shared support for scanning document type declarations in HTML and XHTML.",
    "flags": [],
    "examples": [],
    "see_also": []
}