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 __ior__() method that provides much of
the same functionality.
In your concrete class, you can add an update() method easily:
class MySet(Set):
update = Set.__ior__()
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.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue22089>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com