[Python-Dev] why do we allow this syntax? (original) (raw)
Donald Stufft donald.stufft at gmail.com
Fri Feb 8 16:41:52 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 ]
On Friday, February 8, 2013 at 10:39 AM, Chris Withers wrote:
Hi All,
Just had a bit of an embarrassing incident in some code where I did: sometotal =+ somevalue I'm guessing this gets parsed as sometotal = +somevalue I'm curious why this syntax is allowed? I'm sure there are good reasons, but thought I'd ask... Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk
Python-Dev mailing list Python-Dev at python.org (mailto:Python-Dev at python.org) http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/donald.stufft%40gmail.com
-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20130208/cdac6f25/attachment.html>
- 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 ]