Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python/mypy
/ sum
Function
sum
mypyc/test-data/fixtures/ir.py:389–389 ·
view source on GitHub ↗
(i: Iterable[bool])
Source
from the content-addressed store, hash-verified
387
def
all(i: Iterable[_T]) -> bool:
pass
388
@overload
389
def
sum(i: Iterable[bool]) -> int:
pass
390
@overload
391
def
sum(i: Iterable[_T]) -> _T:
pass
392
@overload
Callers
15
accept_loop
Method · 0.85
check_argument_count
Method · 0.85
apply_type_arguments_to_callable
Method · 0.85
make_simplified_union
Function · 0.85
has_many_errors
Method · 0.85
num_messages
Method · 0.85
dispatch
Function · 0.85
dumps
Method · 0.85
sorted_components
Function · 0.85
on_finish
Method · 0.85
_report_any_exprs
Method · 0.85
total
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected