tuples, index method, Python's design

Steven D'Aprano steve at REMOVE.THIS.cybersource.com.au
Fri Apr 13 06:58:23 EDT 2007


On Fri, 13 Apr 2007 07:46:58 +0000, Antoon Pardon wrote:

>> So much fuss over such a little thing... yes it would be nice if tuples
>> grew an index method, but it isn't hard to work around the lack.
> 
> Yes it is a little thing. But if it is such a little thing why do
> the developers don't simply add it?

Perhaps because they've got better things to do than spend all their time
adding little things that are the work of thirty seconds for a developer
like yourself to create when you need it.


-- 
Steven.




More information about the Python-list mailing list