Portion of SF patch #761104. Fixes a minor docstring error.

_TemporarilyImmutableSet is in fact a subclass of BaseSet
This commit is contained in:
Raymond Hettinger 2003-06-26 18:49:28 +00:00
parent daa340418b
commit f6fe4eda6e

View file

@ -25,10 +25,9 @@ Set -- Mutable sets, subclass of BaseSet; not hashable.
ImmutableSet -- Immutable sets, subclass of BaseSet; hashable. ImmutableSet -- Immutable sets, subclass of BaseSet; hashable.
An iterable argument is mandatory to create an ImmutableSet. An iterable argument is mandatory to create an ImmutableSet.
_TemporarilyImmutableSet -- Not a subclass of BaseSet: just a wrapper _TemporarilyImmutableSet -- A wrapper around a Set, hashable,
around a Set, hashable, giving the same hash value as the giving the same hash value as the immutable set equivalent
immutable set equivalent would have. Do not use this class would have. Do not use this class directly.
directly.
Only hashable objects can be added to a Set. In particular, you cannot Only hashable objects can be added to a Set. In particular, you cannot
really add a Set as an element to another Set; if you try, what is really add a Set as an element to another Set; if you try, what is