[docs] [issue28587] list.index documentation missing start and stop arguments

Mariatta Wijaya report at bugs.python.org
Sat Nov 12 10:57:04 EST 2016


Mariatta Wijaya added the comment:

Thanks for the feedback, Raymond :)

I rephrased the docs like the following, what do you think?

Return zero-based index in the list of the first item whose value is *x*.  It is an error if there is no such item.  Optional arguments ``start`` and ``end`` are interpreted as in slice notation.

----------
Added file: http://bugs.python.org/file45460/issue28587v4.patch

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


More information about the docs mailing list