Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
mamoryview.index() has parameter "stop".
  • Loading branch information
serhiy-storchaka committed Aug 15, 2025
commit 402efa98334a5749ffbffafbf068602ee0f88c84
4 changes: 2 additions & 2 deletions Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4499,10 +4499,10 @@ copying.

.. versionadded:: 3.14

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

Return the index of the first occurrence of *value* (at or after
index *start* and before index *end*).
index *start* and before index *stop*).

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

Expand Down