Where is documentation for +=

Martin Wiechert martin.wiechert at gmx.de
Wed Jun 14 09:41:05 EDT 2006


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



More information about the Python-list mailing list