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

Bernardo Sulzbach mafagafogigante at gmail.com
Sat Nov 12 15:19:03 EST 2016


On 2016-11-12 18:08, João Matos wrote:
> a =- c is the same as a = c - a

This would break compatibility.

     a =- c

is

     a = -c


-- 
Bernardo Sulzbach
http://www.mafagafogigante.org/
mafagafogigante at gmail.com


More information about the Python-ideas mailing list