[issue22089] collections.MutableSet does not provide update method

Raymond Hettinger report at bugs.python.org
Mon Jul 28 08:19:30 CEST 2014


Raymond Hettinger added the comment:

It's not  a bug.  Guido designed the Set ABC to use operators instead of the named methods.  The += operator for the __iadd__() method that provides much of the same functionality.

Mutable mapping has an update() method because it is an essential part of the mapping API and because there is no operator equivalent as there is for the set API.

----------
assignee:  -> rhettinger
type:  -> enhancement
versions: +Python 3.5 -Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22089>
_______________________________________


More information about the Python-bugs-list mailing list