mutate dictionary or list

Xavier Ho contact at xavierho.com
Tue Sep 7 08:13:14 EDT 2010


On 7 September 2010 22:05, Baba <raoulbia at gmail.com> wrote:

>
> It would be great if someone could give me a brief explanantion of the
> mutation concept.
>

In this case, to mutate is to change. If you must not mutate the list, you
must not change it.

In another words, reading from the list is fine. Writing to it is not.

Cheers,
Xav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100907/624e3309/attachment.html>


More information about the Python-list mailing list