Nick Maclaren wrote:

> The point is that an index method makes sense on ANY data structure that
> can be subscripted by an integer value but, for reasons that aren't at
> all clear, is not defined for Python tuples.  There is no technical or
> mathematical reason why it shouldn't be.

so where would you put such an "index" implementation so it would work on
ANY data structure that can be subscripted by an integer value ?

</F> 



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

Reply via email to