{
    "mode": "pydoc",
    "parameter": "html",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/pydoc/html/json",
    "generated": "2026-06-02T14:16:16Z",
    "sections": {
        "NAME": {
            "content": "html - General functions for HTML manipulation.\n",
            "subsections": []
        },
        "MODULE REFERENCE": {
            "content": "https://docs.python.org/3.10/library/html.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": []
        },
        "PACKAGE CONTENTS": {
            "content": "entities\nparser\n",
            "subsections": []
        },
        "FUNCTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "escape",
                    "content": "Replace special characters \"&\", \"<\" and \">\" to HTML-safe sequences.\nIf the optional flag quote is true (the default), the quotation mark\ncharacters, both double quote (\") and single quote (') characters are also\ntranslated.\n"
                },
                {
                    "name": "unescape",
                    "content": "Convert all named and numeric character references (e.g. &gt;, &#62;,\n&x3e;) in the string s to the corresponding unicode characters.\nThis function uses the rules defined by the HTML 5 standard\nfor both valid and invalid character references, and the list of\nHTML 5 named character references defined in html.entities.html5.\n"
                }
            ]
        },
        "DATA": {
            "content": "all = ['escape', 'unescape']\n",
            "subsections": []
        },
        "FILE": {
            "content": "/usr/lib/python3.10/html/init.py\n\n",
            "subsections": []
        }
    },
    "summary": "html - General functions for HTML manipulation.",
    "flags": [],
    "examples": [],
    "see_also": []
}