In message <h3291j$mf...@reader1.panix.com>, kj wrote:

> .., Lundh writes:
> 
>   Assignment statements modify namespaces, not objects.

<counterexample>

    >>> a = [3]
    >>> b = a

These may indeed modify a namespace, not any object. However:

    >>> a[:] = [4]
    >>> a
    [4]
    >>> b
    [4]

What change has happened to the namespace in this case? None. Yet an object 
has changed.

</counterexample>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to