diff options
author | Raymond Hettinger <python@rcn.com> | 2003-06-26 18:49:28 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-06-26 18:49:28 (GMT) |
commit | f6fe4eda6e00028c55fee31f53b92d9740e329fa (patch) | |
tree | 5ac585a1fe50ee5728eeca5b95e487e82cea9bd0 /Lib/sets.py | |
parent | daa340418be15999ef635302b613f7bcded45cdb (diff) | |
download | cpython-f6fe4eda6e00028c55fee31f53b92d9740e329fa.zip cpython-f6fe4eda6e00028c55fee31f53b92d9740e329fa.tar.gz cpython-f6fe4eda6e00028c55fee31f53b92d9740e329fa.tar.bz2 |
Portion of SF patch #761104. Fixes a minor docstring error.
_TemporarilyImmutableSet is in fact a subclass of BaseSet
Diffstat (limited to 'Lib/sets.py')
-rw-r--r-- | Lib/sets.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Lib/sets.py b/Lib/sets.py index e6a509f..ebe62c6 100644 --- a/Lib/sets.py +++ b/Lib/sets.py @@ -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 |