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