tuples, index method, Python's design

7stud bbxx789_05ss at yahoo.com
Sat Apr 7 06:25:05 EDT 2007


On Apr 6, 1:24 pm, Carsten Haese <cars... at uniqsys.com> wrote:
> Except that that wasn't the only justification. GvR also said:
>
> """
> For tuples, I suspect such a function would rarely be used; I think
> that is most cases where x.index() would be useful, x is generally a
> list, whose contents varies in time, rather than a tuple (which cannot
> change easily).
> """
>

Touche.





More information about the Python-list mailing list