[Python-ideas] On evaluating features [was: Unpacking iterables for augmented assignment]

Robert Vanden Eynde robertve92 at gmail.com
Tue Aug 28 16:09:23 EDT 2018


>
>
> By the same logic, wouldn't such a naive user also expect:
>
>      a, b, c = 0
>
> to set three variables to 0?
>
>
Let's notice that this syntax is valid:

a = b = c = 0

But for += there is no such direct translation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180828/f67bf06e/attachment.html>


More information about the Python-ideas mailing list