Correct docstring for the return type of index

This commit is contained in:
Dave Pearson
2023-01-06 12:31:27 +00:00
parent 71cc1bca1e
commit 395ed4b153

View File

@@ -54,7 +54,7 @@ class ImmutableSequenceView(Generic[T]):
item (T): The item to find in the sequence.
Returns:
int: The index of the item in the sequence.
T: The index of the item in the sequence.
Raises:
ValueError: If the item is not in the sequence.