[Edu-sig] class notes (post facto)

Litvin litvin at skylit.com
Tue Jul 13 10:31:47 CEST 2010

At 01:54 AM 7/13/2010, kirby urner wrote:
>You mean some methods actually change an object
>"in place"?  Change it's state?  No copies, no
>output?  No "back up"?

I've found it disconcerting that in Python 3
lst1 += lst2 changes lst1 in place, while
lst1 = lst1 + lst2 makes a copy.

Gary Litvin

More information about the Edu-sig mailing list