Nick Maclaren wrote:
> Why doesn't the tuple type have an index method?  It seems such a
> bizarre restriction that there must be some reason for it.

In fact, tuples have no non-__underscored__ methods at all.  The list
count() method would also be useful for tuples, since it doesn't modify
anything.  I have no idea why they aren't implemented either.

Glenn

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

Reply via email to