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

Function fromstring

3.6.4/py27/lxml/html/__init__.py:852–917  ·  view source on GitHub ↗

Parse the html, returning a single element/document. This tries to minimally parse the chunk of text, without knowing if it is a fragment or a document. base_url will set the document's base_url attribute (and the tree's docinfo.URL)

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

fill_form_htmlFunction · 0.90
insert_errors_htmlFunction · 0.90
clean_htmlMethod · 0.90
autolink_htmlFunction · 0.90
word_break_htmlFunction · 0.90
__call__Method · 0.70

Calls 3

document_fromstringFunction · 0.70
drop_treeMethod · 0.45

Tested by

no test coverage detected