mirror of https://github.com/python/cpython
Portion of SF patch #761104. Fixes a minor docstring error.
_TemporarilyImmutableSet is in fact a subclass of BaseSet
This commit is contained in:
parent
daa340418b
commit
f6fe4eda6e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue