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

Function fragment_fromstring

3.6.4/py36/lxml/html/__init__.py:803–849  ·  view source on GitHub ↗

Parses a single HTML element; it is an error if there is more than one element, or if anything but whitespace precedes or follows the element. If ``create_parent`` is true (or is a tag name) then a parent node will be created to encapsulate the HTML in a single element. In thi

(html, create_parent=False, base_url=None,
                        parser=None, **kw)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parse_htmlFunction · 0.90

Calls 3

fragments_fromstringFunction · 0.70
ElementFunction · 0.70
_element_nameFunction · 0.70

Tested by

no test coverage detected