http://docs.python.org/ref/augassign.html


On Wednesday 14 June 2006 15:39, Marco Wahl wrote:
> 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