On 13 Des, 21:26, sturlamolden <sturlamol...@yahoo.no> wrote: > Python methods always have a return value, even those that seem to do > not - they silently return None. Thus, __iadd__ must return self to > avoid rebinding to None.
Except for immutable types, for which __iadd__ must return a new instance. -- http://mail.python.org/mailman/listinfo/python-list