This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author SylvainDe
Recipients SylvainDe, docs@python
Date 2014-07-16.12:40:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405514419.16.0.727549411971.issue21989@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-07-16 12:40:19SylvainDesetrecipients: + SylvainDe, docs@python
2014-07-16 12:40:19SylvainDesetmessageid: <1405514419.16.0.727549411971.issue21989@psf.upfronthosting.co.za>
2014-07-16 12:40:19SylvainDelinkissue21989 messages
2014-07-16 12:40:18SylvainDecreate