From: Raymond Hettinger Date: Thu, 26 Jun 2003 18:49:28 +0000 (+0000) Subject: Portion of SF patch #761104. Fixes a minor docstring error. X-Git-Tag: v2.3c1~323 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6fe4eda6e00028c55fee31f53b92d9740e329fa;p=python Portion of SF patch #761104. Fixes a minor docstring error. _TemporarilyImmutableSet is in fact a subclass of BaseSet --- diff --git a/Lib/sets.py b/Lib/sets.py index e6a509f1fa..ebe62c6f17 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