Documentation/Info on this sign

David Goodger goodger at python.org
Thu May 20 11:52:16 EDT 2004


Bart Nessux wrote:
> Could someone point me to documentation on this (and similar)
> signs used in Python:
> 
> +=

http://www.python.org/doc/current/ref/augassign.html

> Usage would be:
> 
> x = += len(y)

No, it would be:

     x = len(y)

or:

     x += len(y)

You can't combine them.

-- David Goodger





More information about the Python-list mailing list