Make functions any and all accept Iterable[object] (#1531)

Previously, they were accepting `Iterable`, which expanded to `Iterable[Any]`.
This commit is contained in:
Svyatoslav Ilinskiy authored and Jelle Zijlstra committed 2017-08-07 17:13:43 -06:00
1 parent c6bb8a7c88
commit 8ac0694056
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -689,8 +689,8 @@ bytes = str
NotImplemented = ... # type: Any
def abs(n: SupportsAbs[_T]) -> _T: ...
def all(i: Iterable) -> bool: ...
def any(i: Iterable) -> bool: ...
def all(i: Iterable[object]) -> bool: ...
def any(i: Iterable[object]) -> bool: ...
def bin(number: int) -> str: ...
def callable(o: object) -> bool: ...
def chr(code: int) -> str: ...