Empty

class part.Empty(*args)

Bases: Generic[part.atomic.TO], part.utils.Singleton, part.atomic.Atomic[part.atomic.TO]

Empty set class.

The Empty class (which inherits from the Atomic class) represent the empty set. There is only one instance of this class.

__str__()

Return str(self).

__hash__()

Return hash(self).

__bool__()

Return bool(self).

Returns

An empty set is always False.

Return type

False

__or__(other)

Return self|other.

__and__(other)

Return self^other.

__sub__(other)

Return self-other.

__xor__(other)

Return self^other.

__invert__()

Return ~self.

before(other, strict=True, reverse=False)

See Atomic.before().

meets(other, strict=True, reverse=False)

See Atomic.meets().

overlaps(other, strict=True, reverse=False)

See Atomic.overlaps().

starts(other, strict=True, reverse=False)

See Atomic.starts().

during(other, strict=True, reverse=False)

See Atomic.during().

finishes(other, strict=True, reverse=False)

See Atomic.finishes().