lxml.html._setmixin module

class lxml.html._setmixin.SetMixin[source]

Bases: collections.abc.MutableSet

Mix-in for sets. You must define __iter__, add, remove

classmethod _from_iterable(it)[source]

Construct an instance of the class from any iterable input.

Must override this method if the class constructor signature does not accept an iterable for an input.

copy()[source]
difference(other)
difference_update(other)[source]
discard(item)[source]

Remove an element. Do not raise an exception if absent.

intersection(other)
intersection_update(other)[source]
issubset(other)

Return self<=value.

issuperset(other)

Return self>=value.

symmetric_difference(other)
symmetric_difference_update(other)[source]
union(other)
update(other)[source]
_abc_impl = <_abc_data object>