Christoph Zwerschke wrote:
> >>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.
That is the problem of the tutorial or manual, don't read them as if
they are ISO specs.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to