Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9c2a35 commit f19f1d8Copy full SHA for f19f1d8
1 file changed
Doc/tutorial/datastructures.rst
@@ -62,7 +62,7 @@ objects:
62
.. method:: list.index(x[, start[, end]])
63
:noindex:
64
65
- Return zero-based index in the list of the first item whose value is equal to *x*.
+ Return zero-based index of the first occurrence of *x* in the list.
66
Raises a :exc:`ValueError` if there is no such item.
67
68
The optional arguments *start* and *end* are interpreted as in the slice
0 commit comments