[issue9746] All sequence types support .index and .count

Éric Araujo report at bugs.python.org
Sat Sep 11 21:14:35 CEST 2010


Éric Araujo <merwok at netwok.org> added the comment:

For the person wanting to make a patch: Beware that the abstract collections.Sequence.index method does not support the start and stop arguments, even though concrete methods may (list.index, tuple.index and str.index for example).

----------
keywords: +easy
nosy: +eric.araujo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9746>
_______________________________________


More information about the Python-bugs-list mailing list