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
1 changed files with 3 additions and 4 deletions

View File

@ -25,10 +25,9 @@ Set -- Mutable sets, subclass of BaseSet; not hashable.
ImmutableSet -- Immutable sets, subclass of BaseSet; hashable.
An iterable argument is mandatory to create an ImmutableSet.
_TemporarilyImmutableSet -- Not a subclass of BaseSet: just a wrapper
around a Set, hashable, giving the same hash value as the
immutable set equivalent would have. Do not use this class
directly.
_TemporarilyImmutableSet -- A wrapper around a Set, hashable,
giving the same hash value as the immutable set equivalent
would have. Do not use this class directly.
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