Commit 70b9f499 authored by Raymond Hettinger's avatar Raymond Hettinger

Remove deprecation of sets.Set.update().

parent 37249c55
...@@ -504,10 +504,6 @@ class Set(BaseSet): ...@@ -504,10 +504,6 @@ class Set(BaseSet):
def update(self, iterable): def update(self, iterable):
"""Add all values from an iterable (such as a list or file).""" """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) self._update(iterable)
def clear(self): def clear(self):
......
...@@ -161,8 +161,7 @@ Library ...@@ -161,8 +161,7 @@ Library
- sets.py now runs under Py2.2. In addition, the argument restrictions - sets.py now runs under Py2.2. In addition, the argument restrictions
for most set methods (but not the operators) have been relaxed to for most set methods (but not the operators) have been relaxed to
allow any iterable. Also the Set.update() has been deprecated because allow any iterable.
it duplicates Set.union_update().
- _strptime.py now has a behind-the-scenes caching mechanism for the most - _strptime.py now has a behind-the-scenes caching mechanism for the most
recent TimeRE instance used along with the last five unique directive recent TimeRE instance used along with the last five unique directive
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment