[Python-checkins] python/dist/src/Lib sets.py,1.30,1.31

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
Fri, 04 Oct 2002 13:01:50 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv7956

Modified Files:
	sets.py 
Log Message:
.iterkeys() is not needed.

Index: sets.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/sets.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** sets.py	29 Aug 2002 15:13:50 -0000	1.30
--- sets.py	4 Oct 2002 20:01:48 -0000	1.31
***************
*** 178,182 ****
          else:
              little, big = other, self
!         common = filter(big._data.has_key, little._data.iterkeys())
          return self.__class__(common)
  
--- 178,182 ----
          else:
              little, big = other, self
!         common = filter(big._data.has_key, little._data)
          return self.__class__(common)