Problem with a tuple - newbie ignorance
Chris Ryland
cpr at emsoftware.com
Mon Jan 15 16:44:21 EST 2001
In article <3A635C32.9E5285C5 at yale.edu>,
Steven Citron-Pousty <steven.citron-pousty at yale.edu> wrote:
You are getting bitten by the usual object/reference confusion.
When you assign "... = ifields" you're just creating a new name for the
same objects referenced by ifields. So, when you modify list elements
under the new name, you're also modifying what ifields references.
--
Chris Ryland * Em Software, Inc. * www.emsoftware.com
Sent via Deja.com
http://www.deja.com/
More information about the Python-list
mailing list