mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Correct docstring for the return type of index
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user