Fix indentation.

This commit is contained in:
Georg Brandl 2012-03-22 22:20:21 +01:00
parent e8b416e754
commit 2ac82f8dc9
1 changed files with 3 additions and 2 deletions

View File

@ -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: