[Python-checkins] python/dist/src/Lib sets.py,1.44.8.3,1.44.8.4

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Mon Sep 22 00:42:58 EDT 2003


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

Modified Files:
      Tag: release23-maint
	sets.py 
Log Message:
Removed the PendingDeprecation warning from sets.py because it adds
little value while introducing incompatability with the version 
being bugfixed.  



Index: sets.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/sets.py,v
retrieving revision 1.44.8.3
retrieving revision 1.44.8.4
diff -C2 -d -r1.44.8.3 -r1.44.8.4
*** sets.py	8 Sep 2003 19:15:43 -0000	1.44.8.3
--- sets.py	22 Sep 2003 04:42:56 -0000	1.44.8.4
***************
*** 501,508 ****
      def update(self, iterable):
          """Add all values from an iterable (such as a list or file)."""
-         import warnings
-         warnings.warn("The update() method is going to be deprecated; "
-                       "Use union_update() instead.",
-                       PendingDeprecationWarning, 2)
          self._update(iterable)
  
--- 501,504 ----





More information about the Python-checkins mailing list