[Python-ideas] Add MutableSet.update?
Guido van Rossum
guido at python.org
Fri Mar 9 20:15:36 EST 2018
Yes, you can use the |= operator instead.
On Fri, Mar 9, 2018 at 4:48 PM, Lucas Wiman <lucas.wiman at gmail.com> wrote:
> I was trying to use `collections.abc.MutableSet` today, and noticed that
> it does not define an `update` method. This is a very useful method that is
> present on the builtin `set` class, and seems to fit naturally with the
> other methods.
> Was omitting this method intentional?
> Thanks & best wishes,
> Lucas Wiman
> Python-ideas mailing list
> Python-ideas at python.org
> Code of Conduct: http://python.org/psf/codeofconduct/
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas