Files
Buffteks-Website/streamlit-venv/lib/python3.10/site-packages/lxml/html/ElementSoup.py
2025-01-10 21:40:35 +00:00

11 lines
320 B
Python
Executable File

__doc__ = """Legacy interface to the BeautifulSoup HTML parser.
"""
__all__ = ["parse", "convert_tree"]
from .soupparser import convert_tree, parse as _parse
def parse(file, beautifulsoup=None, makeelement=None):
root = _parse(file, beautifulsoup=beautifulsoup, makeelement=makeelement)
return root.getroot()