mirror of https://github.com/python/cpython
Fix indentation.
This commit is contained in:
parent
e8b416e754
commit
2ac82f8dc9
|
@ -1663,14 +1663,15 @@ iteration, the :func:`len` function, and the following methods:
|
||||||
|
|
||||||
Return the number of *i*'s for which ``s[i] == x``.
|
Return the number of *i*'s for which ``s[i] == x``.
|
||||||
|
|
||||||
.. versionadded:: 3.2
|
.. versionadded:: 3.2
|
||||||
|
|
||||||
.. method:: range.index(x)
|
.. method:: range.index(x)
|
||||||
|
|
||||||
Return the smallest *i* such that ``s[i] == x``. Raises
|
Return the smallest *i* such that ``s[i] == x``. Raises
|
||||||
:exc:`ValueError` when *x* is not in the range.
|
:exc:`ValueError` when *x* is not in the range.
|
||||||
|
|
||||||
.. versionadded:: 3.2
|
.. versionadded:: 3.2
|
||||||
|
|
||||||
|
|
||||||
.. _typesseq-mutable:
|
.. _typesseq-mutable:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue