summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-02-09 03:34:52 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-02-09 03:34:52 (GMT)
commit2e827bfdfea7b940517f90af78c986aec9159d2c (patch)
tree84075d7b7a8d9731a13f7278e8e80447c484ee7d
parentc2bc0d17e83ad88b829a669cc9ee7194b9e46593 (diff)
downloadcpython-2e827bfdfea7b940517f90af78c986aec9159d2c.zip
cpython-2e827bfdfea7b940517f90af78c986aec9159d2c.tar.gz
cpython-2e827bfdfea7b940517f90af78c986aec9159d2c.tar.bz2
Merge with r60683.
-rw-r--r--Lib/_abcoll.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/_abcoll.py b/Lib/_abcoll.py
index 6f1759b..a0473f3 100644
--- a/Lib/_abcoll.py
+++ b/Lib/_abcoll.py
@@ -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):