commit | bfcdb8734ea13d4404958b0caf100569a5c41f3c | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Fri Oct 04 20:01:48 2002 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Fri Oct 04 20:01:48 2002 +0000 |
tree | 1423a7f872a3e08717ab2a72dbb8b3d707fee2bd | |
parent | 57b38ed424292803c0a3578d2f68cc0ef1c8661d [diff] |
.iterkeys() is not needed.
diff --git a/Lib/sets.py b/Lib/sets.py index 069be64..5f0f0a2 100644 --- a/Lib/sets.py +++ b/Lib/sets.py
@@ -177,7 +177,7 @@ 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):