[Python-checkins] python/dist/src/Lib sets.py,1.48,1.49

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Wed Nov 19 10:52:17 EST 2003


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

Modified Files:
	sets.py 
Log Message:
Remove deprecation of sets.Set.update().

Index: sets.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/sets.py,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** sets.py	12 Nov 2003 15:21:20 -0000	1.48
--- sets.py	19 Nov 2003 15:52:14 -0000	1.49
***************
*** 505,512 ****
      def update(self, iterable):
          """Add all values from an iterable (such as a list or file)."""
-         import warnings
-         warnings.warn("The update() method deprecated; "
-                       "Use union_update() instead.",
-                       DeprecationWarning, 2)
          self._update(iterable)
  
--- 505,508 ----





More information about the Python-checkins mailing list