Skip to content

Commit eb1695e

Browse files
AA-Turnerhugovk
andauthored
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent a2e4c3c commit eb1695e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/collections.abc.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,11 @@ Collections Abstract Base Classes -- Detailed Descriptions
272272
linked list), the mixins will have quadratic performance and will
273273
likely need to be overridden.
274274

275-
.. method:: index(self, value, start=0, stop=None)
275+
.. method:: index(value, start=0, stop=None)
276276

277277
Return first index of *value*.
278278

279-
Raises ValueError if the value is not present.
279+
Raises :exc:`ValueError` if the value is not present.
280280

281281
Supporting the *start* and *stop* arguments is optional, but recommended.
282282

0 commit comments

Comments
 (0)