EmptySet¶
- class odl.set.sets.EmptySet[source]¶
Bases:
SetSet with no member elements (except
None).Noneis considered as "no element", i.e.None in EmptySet()is the only test that evaluates toTrue.- Attributes:
examplesGenerator creating name-value pairs of set elements.
Methods
contains_all(other)Test if all elements in
otherare contained in this set.contains_set(other)Return
Truefor the empty set,Falseotherwise.element([inp])Return None.
- __init__(*args, **kwargs)¶