[Python-ideas] Reverse assignment operators (=+, =-, =*, =/, =//, =**, =%)

אלעזר elazarg at gmail.com
Sat Nov 12 15:15:19 EST 2016


On Sat, Nov 12, 2016 at 10:08 PM João Matos <jcrmatos at gmail.com> wrote:

>
> What I would like to propose is the creation of the reverse:
> a =+ c is the same as a = c + a
>
a =+5  already means a becomes 5

> a =- c is the same as a = c - a
>
 a =-5  already means a becomes -5

Elazar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20161112/b70f437d/attachment.html>


More information about the Python-ideas mailing list