]> granicus.if.org Git - python/commitdiff
Merge with r60683.
authorRaymond Hettinger <python@rcn.com>
Sat, 9 Feb 2008 03:34:52 +0000 (03:34 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 9 Feb 2008 03:34:52 +0000 (03:34 +0000)
Lib/_abcoll.py

index 6f1759b4e8b3917bcaba6293ade8ae8336623fb7..a0473f3471c02540a983ff9616b54e4cb53cc734 100644 (file)
@@ -173,9 +173,9 @@ class Set(Sized, Iterable, Container):
         '''Construct an instance of the class from any iterable input.
 
         Must override this method if the class constructor signature
-        will not accept a frozenset for an input.
+        does not accept an iterable for an input.
         '''
-        return cls(frozenset(it))
+        return cls(it)
 
     def __and__(self, other):
         if not isinstance(other, Iterable):