.iterkeys() is not needed.
This commit is contained in:
parent
57b38ed424
commit
bfcdb8734e
|
@ -177,7 +177,7 @@ class BaseSet(object):
|
|||
little, big = self, other
|
||||
else:
|
||||
little, big = other, self
|
||||
common = filter(big._data.has_key, little._data.iterkeys())
|
||||
common = filter(big._data.has_key, little._data)
|
||||
return self.__class__(common)
|
||||
|
||||
def intersection(self, other):
|
||||
|
|
Loading…
Reference in New Issue