Documentation/Info on this sign

wes weston wweston at att.net
Thu May 20 11:46:11 EDT 2004


Bart Nessux wrote:
> Could someone point me to documentation on this (and similar) signs used 
> in Python:
> 
> +=
> 
> Usage would be:
> 
> x = += len(y)
> 
> Literally, that's "variable x equals 
> 'funky-symbol-that-I-want-to-learn-about' the length of variable y"
> 
> Thank  you,
> 
> Bart

Bart, see http://docs.python.org/ref/augassign.html
wes




More information about the Python-list mailing list