Tuple question

Will McGugan news at NOwillmcguganSPAM.com
Thu Sep 2 12:29:24 EDT 2004


Hi,

Why is that a tuple doesnt have the methods 'count' and 'index'? It 
seems they could be present on a immutable object.

I realise its easy enough to convert the tuple to a list and do this, 
I'm just curious why it is neccesary..


Thanks,

Will McGugan



More information about the Python-list mailing list