diff options
author | Raymond Hettinger <python@rcn.com> | 2003-11-19 15:52:14 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-11-19 15:52:14 (GMT) |
commit | 70b9f499a32f30397e7f1fc97e98f008bc533af0 (patch) | |
tree | 7e8f62d55893796ab559112bfe91ec229f4cccca /Lib/sets.py | |
parent | 37249c55248d8e355e3184d597f89aace42798ab (diff) | |
download | cpython-70b9f499a32f30397e7f1fc97e98f008bc533af0.zip cpython-70b9f499a32f30397e7f1fc97e98f008bc533af0.tar.gz cpython-70b9f499a32f30397e7f1fc97e98f008bc533af0.tar.bz2 |
Remove deprecation of sets.Set.update().
Diffstat (limited to 'Lib/sets.py')
-rw-r--r-- | Lib/sets.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/sets.py b/Lib/sets.py index 6e09005..8ec7e2f 100644 --- a/Lib/sets.py +++ b/Lib/sets.py @@ -504,10 +504,6 @@ class Set(BaseSet): 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): |