✏️ 编辑:__init__.cpython-39.pyc
路径:
/usr/lib/python3.9/site-packages/pip/_vendor/html5lib/__pycache__/__init__.cpython-39.pyc
大小:1.24 KB · 修改:2026-05-23 08:59:54 · 权限:0644 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
检测到二进制内容,直接保存可能损坏文件。请改用「上传替换」。
a �lj� � @ s` d Z ddlmZmZmZ ddlmZmZmZ ddl m Z ddlmZ ddl mZ g d�Zd Zd S )a� HTML parsing library based on the `WHATWG HTML specification <https://whatwg.org/html>`_. The parser is designed to be compatible with existing HTML found in the wild and implements well-defined error recovery that is largely compatible with modern desktop web browsers. Example usage:: from pip._vendor import html5lib with open("my_document.html", "rb") as f: tree = html5lib.parse(f) For convenience, this module re-exports the following names: * :func:`~.html5parser.parse` * :func:`~.html5parser.parseFragment` * :class:`~.html5parser.HTMLParser` * :func:`~.treebuilders.getTreeBuilder` * :func:`~.treewalkers.getTreeWalker` * :func:`~.serializer.serialize` � )�absolute_import�division�unicode_literals� )� HTMLParser�parse� parseFragment)�getTreeBuilder)� getTreeWalker)� serialize)r r r r r r z1.1N)�__doc__Z __future__r r r Zhtml5parserr r r Ztreebuildersr Ztreewalkersr Z serializerr �__all__�__version__� r r �A/usr/lib/python3.9/site-packages/pip/_vendor/html5lib/__init__.py�<module> s
💾 保存
取消
保存为 UTF-8,换行统一为 LF