Inconsistent list/pointer problem

Eduardo "EdCrypt" O. Padoan eopadoan at altavix.com
Fri Feb 2 06:32:44 EST 2007


> Won't do for the OP's needs - he wants to modify the objects contained
> in listB without impacting the ones in listA (or at least that's what I
> understand).


Sorry. That is true - the items referenced on the [:] copy are the same as
in the original. Rereading what the OP msg, I think we agree.



More information about the Python-list mailing list