Skip to content

Commit 402efa9

Browse files
mamoryview.index() has parameter "stop".
1 parent 150ad5b commit 402efa9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/stdtypes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4499,10 +4499,10 @@ copying.
44994499

45004500
.. versionadded:: 3.14
45014501

4502-
.. method:: index(value, start=0, end=None, /)
4502+
.. method:: index(value, start=0, stop=sys.maxsize, /)
45034503

45044504
Return the index of the first occurrence of *value* (at or after
4505-
index *start* and before index *end*).
4505+
index *start* and before index *stop*).
45064506

45074507
Raises a :exc:`ValueError` if *value* cannot be found.
45084508

0 commit comments

Comments
 (0)