[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
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
>
--
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180309/ab036541/attachment.html>
More information about the Python-ideas
mailing list