How come tuples don't have an index method?

Ralph Corderoy ralph at inputplus.demon.co.uk
Sat Sep 8 06:07:51 EDT 2001


Hi,

> In 2.2, operator.countOf() works on any iterable object:

Ugh.  Is this girlyCaps style common in Python?  I hadn't noticed it
much before.  Would be nice to be consistent, espcecially within a
single module.

getitem isn't getItem so why not countof?


Ralph.




More information about the Python-list mailing list