New submission from SylvainDe: >From :
https://docs.python.org/2/tutorial/datastructures.html and https://docs.python.org/3.4/tutorial/datastructures.html (and all other versions) : ---------------------------- list.index(x) Return the index in the list of the first item whose value is x. It is an error if there is no such item. ---------------------------- >From `help(list)` : ---------------------------- | index(...) | L.index(value, [start, [stop]]) -> integer -- return first index of value. | Raises ValueError if the value is not present. ---------------------------- Thus, second and third parameter are undocumented. ---------- assignee: docs@python components: Documentation files: list_index_start_end.patch keywords: patch messages: 223195 nosy: SylvainDe, docs@python priority: normal severity: normal status: open title: Missing (optional) argument `start` and `end` in documentation for list.index type: enhancement versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5 Added file: http://bugs.python.org/file35967/list_index_start_end.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21989> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com