Merge with r60683.

This commit is contained in:
Raymond Hettinger 2008-02-09 03:34:52 +00:00
parent c2bc0d17e8
commit 2e827bfdfe
1 changed files with 2 additions and 2 deletions

View 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):