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

Function fragment_fromstring

3.6.4/py27/lxml/html/html5parser.py:95–133  ·  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 this cas

(html, create_parent=False,
                        guess_charset=False, parser=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

ElementFunction · 0.90
fragments_fromstringFunction · 0.70

Tested by

no test coverage detected