EmptySet

class odl.set.sets.EmptySet[source]

Bases: odl.set.sets.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 to True.

Attributes
examples

Generator creating name-value pairs of set elements.

Methods

contains_all(self, other)

Test if all elements in other are contained in this set.

contains_set(self, other)

Return True for the empty set, False otherwise.

element(self[, inp])

Return None.

__init__(self, /, \*args, \*\*kwargs)

Initialize self. See help(type(self)) for accurate signature.