typed SequenceProxy.index
This commit is contained in:
parent
19c4a7ebdf
commit
de34073b34
@ -207,7 +207,7 @@ class SequenceProxy(Generic[T_co], collections.abc.Sequence):
|
||||
def __reversed__(self) -> Iterator[T_co]:
|
||||
return reversed(self.__proxied)
|
||||
|
||||
def index(self, value: Any, *args, **kwargs) -> int:
|
||||
def index(self, value: Any, *args: Any, **kwargs: Any) -> int:
|
||||
return self.__proxied.index(value, *args, **kwargs)
|
||||
|
||||
def count(self, value: Any) -> int:
|
||||
|
Loading…
x
Reference in New Issue
Block a user