Message223195
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. |
|
Date |
User |
Action |
Args |
2014-07-16 12:40:19 | SylvainDe | set | recipients:
+ SylvainDe, docs@python |
2014-07-16 12:40:19 | SylvainDe | set | messageid: <1405514419.16.0.727549411971.issue21989@psf.upfronthosting.co.za> |
2014-07-16 12:40:19 | SylvainDe | link | issue21989 messages |
2014-07-16 12:40:18 | SylvainDe | create | |
|