On Wed, May 4, 2011 at 2:43 AM, Raymond Hettinger <pyt...@rcn.com> wrote:
> We should have a separate thread for the most practical, best
> documented, least surprising, and most boring recipe ;-)

a += b   # Adds b to a in-place. Polymorphic - works on a wide variety of types.

You didn't say it had to be complicated...

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

Reply via email to