mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 20:31:32 +08:00
Any->object in operator.contains/operator.countOf (#6459)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
@@ -64,8 +64,8 @@ def sub(__a: Any, __b: Any) -> Any: ...
|
||||
def truediv(__a: Any, __b: Any) -> Any: ...
|
||||
def xor(__a: Any, __b: Any) -> Any: ...
|
||||
def concat(__a: Sequence[_T], __b: Sequence[_T]) -> Sequence[_T]: ...
|
||||
def contains(__a: Container[Any], __b: Any) -> bool: ...
|
||||
def countOf(__a: Iterable[Any], __b: Any) -> int: ...
|
||||
def contains(__a: Container[object], __b: object) -> bool: ...
|
||||
def countOf(__a: Iterable[object], __b: object) -> int: ...
|
||||
@overload
|
||||
def delitem(__a: MutableSequence[Any], __b: SupportsIndex) -> None: ...
|
||||
@overload
|
||||
|
||||
Reference in New Issue
Block a user