is list always with reference ?

quite black quiteblack at yahoo.com
Tue Aug 27 10:20:25 CEST 2002


Hi,all~

    when we build up a list(for example named list1) and write this line:

list2=list1

So, list2 is reference with list1, alright ? What I want to know is if all modifications on list1 will affect list2 ? I say "All" here.



---------------------------------
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20020827/991af5dd/attachment.html>


More information about the Python-list mailing list