Documentation/Info on this sign
Peter Hansen
peter at engcorp.com
Thu May 20 11:48:39 EDT 2004
Bart Nessux wrote:
> Could someone point me to documentation on this (and similar) signs used
> in Python:
>
> +=
http://docs.python.org/ref/augassign.html
> Usage would be:
>
> x = += len(y)
What do you mean by this? "Usage would be"... ?
> Literally, that's "variable x equals
> 'funky-symbol-that-I-want-to-learn-about' the length of variable y"
Huh? This doesn't have meaning... both = and += are assignment
statements, so you can't put one right after the other.
What are you trying to do?
-Peter
More information about the Python-list
mailing list