Nick Coghlan <ncogh...@gmail.com> added the comment:

One other things the branch doesn't currently sort out is the official 
signature of count() and index().

In 3.2, for *all* of str, bytes, bytearray, tuple, list, range, the index() 
method takes the optional start:stop parameters.

collections.Sequence.index(), OTOH, does not.

count() splits the field more evenly: str, bytes, bytearray accept the extra 
parameters, but list, tuple, range and collections.Sequence only support 
counting values in the whole sequence.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4966>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to