mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +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``.
|
||||
|
||||
.. versionadded:: 3.2
|
||||
.. versionadded:: 3.2
|
||||
|
||||
.. method:: range.index(x)
|
||||
|
||||
Return the smallest *i* such that ``s[i] == x``. Raises
|
||||
:exc:`ValueError` when *x* is not in the range.
|
||||
|
||||
.. versionadded:: 3.2
|
||||
.. versionadded:: 3.2
|
||||
|
||||
|
||||
.. _typesseq-mutable:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue