Tuple question

Will McGugan news at NOwillmcguganSPAM.com
Thu Sep 2 18:29:24 CEST 2004


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..


Will McGugan

More information about the Python-list mailing list