tuple.index()
Fredrik Lundh
fredrik at pythonware.com
Thu Dec 14 12:29:47 EST 2006
Nick Maclaren wrote:
> Guido's response is fine - we didn't because we didn't think that it
> was worth doing. One can dissent, but it makes perfect sense.
so which Guido should you trust more? the "tuples should not be used
for arrays of homogeneous data" and "searching tuples doesn't make
sense" guy seen e.g here:
http://mail.python.org/pipermail/python-dev/2002-January/019664.html
http://mail.python.org/pipermail/python-dev/2003-March/033964.html
http://mail.python.org/pipermail/python-dev/2003-March/033972.html
or that "we didn't add list methods to tuples because we're lazy" guy?
</F>
More information about the Python-list
mailing list