On Thu, Sep 10, 2009 at 12:51 PM, Hans Müller <heint...@web.de> wrote:
> Diez B. Roggisch wrote:
>> Hans Müller wrote:
<snip>
>>> But what happens if i modify
>>> a[1].value1 = 1000
>>> is
>>> d["aax"].value1 now 1000 or still "hello" as in this example ?
>>
>> It's changed. Didn't you try that?
>>
> to be true, no - not in this direct context.
>
> btw. how can I get a copy when I need it ?

The `copy` module:
http://docs.python.org/library/copy.html

Cheers,
Chris
--
http://blog.rebertia.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to