list vs tuple

Fredrik Lundh fredrik at pythonware.com
Fri Mar 30 10:28:07 EST 2001


Michael Prager wrote:
> To expand on that, be aware that Python has a rather fanciful
> use of the assignment operator for "mutable" objects

there is no assignment operator.  (it's a statement)

and it doesn't care whether the object is mutable or not.

more info here:

    http://effbot.org/guides/python-objects.htm

Cheers /F





More information about the Python-list mailing list