Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python/mypy
/ any
Function
any
mypyc/test-data/fixtures/ir.py:386–386 ·
view source on GitHub ↗
(i: Iterable[_T])
Source
from the content-addressed store, hash-verified
384
class
GeneratorExit(BaseException):
pass
385
386
def
any(i: Iterable[_T]) -> bool:
pass
387
def
all(i: Iterable[_T]) -> bool:
pass
388
@overload
389
def
sum(i: Iterable[bool]) -> int:
pass
Callers
15
check_partial_impl
Method · 0.85
check_for_missing_annotations
Method · 0.85
check_method_override_for_base_with_name
Method · 0.85
check_typevar_defaults
Method · 0.85
check_enum_new
Method · 0.85
check_metaclass_compatibility
Method · 0.85
check_rvalue_count_in_assignment
Method · 0.85
simple_rvalue
Method · 0.85
visit_decorator
Method · 0.85
comparison_type_narrowing_helper
Method · 0.85
can_be_narrowed_with_len
Method · 0.85
find_tuple_len_narrowing
Method · 0.85
Calls
no outgoing calls
Tested by
2
run_case
Method · 0.68
isdir
Method · 0.68