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

Class Classes

3.8.0/py27/lxml/html/__init__.py:132–237  ·  view source on GitHub ↗

Provides access to an element's class attribute as a set-like collection. Usage:: >>> el = fromstring(' Text ') >>> classes = el.classes # or: classes = Classes(el.attrib) >>> classes |= ['block', 'paragraph'] >>> el.get('class')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

classesMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected