Remove deprecation of sets.Set.update().

This commit is contained in:
Raymond Hettinger 2003-11-19 15:52:14 +00:00
parent 37249c5524
commit 70b9f499a3
2 changed files with 1 additions and 6 deletions

View file

@ -504,10 +504,6 @@ def difference_update(self, other):
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)
def clear(self):

View file

@ -161,8 +161,7 @@ Library
- sets.py now runs under Py2.2. In addition, the argument restrictions
for most set methods (but not the operators) have been relaxed to
allow any iterable. Also the Set.update() has been deprecated because
it duplicates Set.union_update().
allow any iterable.
- _strptime.py now has a behind-the-scenes caching mechanism for the most
recent TimeRE instance used along with the last five unique directive