General question about Python design goals
Christoph Zwerschke
cito at online.de
Sun Nov 27 22:10:24 EST 2005
>>For instance, I just wanted to use the index() method on a tuple which
>>does not work. ...
Aahz wrote:
> Because Guido believes that tuples should be primarily used as
> lightweight replacements for C structs. Therefore they have minimal
> functionality.
But the problem is that the tutorials and manuals give the impression
that the difference between lists and tuples is only mutablity versus
immutability. They don't talk about such considerations and honestly
speaking even now I know that it does seem more plausible for me.
-- Christoph
More information about the Python-list
mailing list