MCPcopy Create free account
hub / github.com/JFox/aws-lambda-lxml / convert_tree

Function convert_tree

3.8.0/py36/lxml/html/soupparser.py:51–64  ·  view source on GitHub ↗

Convert a BeautifulSoup tree to a list of Element trees. Returns a list instead of a single root Element to support HTML-like soup with more than one root element. You can pass a different Element factory through the `makeelement` keyword.

(beautiful_soup_tree, makeelement=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

_convert_treeFunction · 0.70
removeMethod · 0.45

Tested by

no test coverage detected