Why are tuples immutable?

Fuzzyman fuzzyman at gmail.com
Wed Dec 15 12:11:01 CET 2004


Wasn't part of the point, that function call returns ought to be
immuntable. Otherwise you can accidentally end up modifying objects
that are referenced in other places ?

Obviously tuples aren't the *whole* answer... but they help.

Regards,

Fuzzy
http://www.voidspace.org.uk/atlantibots/pythonutils.html




More information about the Python-list mailing list