[Python-Dev] why do we allow this syntax? (original) (raw)
Benjamin Peterson benjamin at python.org
Fri Feb 8 16:42:39 CET 2013
- Previous message: [Python-Dev] why do we allow this syntax?
- Next message: [Python-Dev] why do we allow this syntax?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2013/2/8 Chris Withers <chris at simplistix.co.uk>:
Hi All,
Just had a bit of an embarrassing incident in some code where I did: sometotal =+ somevalue
That's just a strange way of expressing
sometotal = +somevalue
I'm curious why this syntax is allowed? I'm sure there are good reasons, but thought I'd ask...
-- Regards, Benjamin
- Previous message: [Python-Dev] why do we allow this syntax?
- Next message: [Python-Dev] why do we allow this syntax?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]