Home | History | Annotate | Download | only in Lib

Lines Matching defs:ImmutableSet

25 ImmutableSet -- Immutable sets, subclass of BaseSet; hashable.
26 An iterable argument is mandatory to create an ImmutableSet.
34 actually added is an ImmutableSet built from it (it compares equal to
38 ImmutableSet, x is wrapped into a _TemporarilyImmutableSet z, and
49 # Set/ImmutableSet approach, and make the data an attribute.
59 __all__ = ['BaseSet', 'Set', 'ImmutableSet']
77 "Use Set or ImmutableSet.")
335 # only an ImmutableSet is hashable.
378 class ImmutableSet(BaseSet):
541 return ImmutableSet(self)
554 self._data = set._data # Needed by ImmutableSet.__eq__()