On Fri, Mar 9, 2018 at 6:24 PM, MRAB <pyt...@mrabarnett.plus.com> wrote:
> On 2018-03-10 01:15, Guido van Rossum wrote: > >> Yes, you can use the |= operator instead. >> >> |= is not quite the same as .update because it rebinds, so if the name on > the LHS isn't local it'll raise NameError. > > Does that matter? Not for my use case; that should work great. Thanks Guido! - Lucas
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/