why?

Loic Mahe loic.mahe at free.fr.invalid
Tue Dec 3 08:30:18 EST 2002


Hi!

Because Tuples are immutable!!!

In the Python Doc Tutorial,
you can read that:

"Tuples, like strings, are immutable: it is not possible to assign to the 
individual items of a tuple (you can simulate much of the same effect with 
slicing and concatenation, though). It is also possible to create tuples which 
contain mutable objects, such as lists."


Bye!

Loic


-- 
Use our news server 'news.foorum.com' from anywhere.
More details at: http://nnrpinfo.go.foorum.com/



More information about the Python-list mailing list