mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Fix _operator.indexOf signature (#6435)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
@@ -68,7 +68,7 @@ def getitem(__a: Sequence[_T], __b: SupportsIndex) -> _T: ...
|
||||
def getitem(__a: Sequence[_T], __b: slice) -> Sequence[_T]: ...
|
||||
@overload
|
||||
def getitem(__a: Mapping[_K, _V], __b: _K) -> _V: ...
|
||||
def indexOf(__a: Sequence[_T], __b: _T) -> int: ...
|
||||
def indexOf(__a: Iterable[_T], __b: _T) -> int: ...
|
||||
@overload
|
||||
def setitem(__a: MutableSequence[_T], __b: SupportsIndex, __c: _T) -> None: ...
|
||||
@overload
|
||||
|
||||
Reference in New Issue
Block a user