Hello,

by accident I found that += exists in python.
E.g.

>>> a = 0
>>> a += 42
>>> a
42
>>> a += 0.42
>>> a
42.420000000000002
>>>

But I can't find any documentation for +=.
Any hints?


Best wishes

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to