mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Fix indentation.
This commit is contained in:
parent
e8b416e754
commit
2ac82f8dc9
1 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue