list operation '+= ' or assignment problem

Fredrik Lundh fredrik at effbot.org
Thu Jan 4 08:32:13 EST 2001


Joe Smith wrote:
> I guess that list assignment is an assignment of the reference
> to the object and it does not copy the object.  Where as a
> string object gets copied.

Alex: No.
Erno: No.
Greg: Yes, in a way.
Steve: Yes.
Tim: No.

time for a poll? ;-)

Cheers /F





More information about the Python-list mailing list