From f6fe4eda6e00028c55fee31f53b92d9740e329fa Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Thu, 26 Jun 2003 18:49:28 +0000 Subject: Portion of SF patch #761104. Fixes a minor docstring error. _TemporarilyImmutableSet is in fact a subclass of BaseSet --- Lib/sets.py | 7 +++---- 1 file 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 -- cgit v0.12