mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-14 18:27:51 +08:00
Any->object in operator.contains/operator.countOf (#6459)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
1 parent
c3753d3913
commit
f2a7d66346
1 file changed
+2
-2
@@ -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