MCPcopy Index your code
hub / github.com/RustPython/RustPython / sum

Function sum

extra_tests/snippets/syntax_call_nested.py:2–3  ·  view source on GitHub ↗
(x,y)

Source from the content-addressed store, hash-verified

1# Blocked on LOAD_GLOBAL
2def sum(x,y):
3 return x+y
4
5def total(a,b,c,d):
6 return sum(sum(a,b),sum(c,d))

Callers 15

totalFunction · 0.70
pdfFunction · 0.50
cdfFunction · 0.50
_sumFunction · 0.50
_ssFunction · 0.50
_display_widthFunction · 0.50
__init__Method · 0.50
calc_chksumsFunction · 0.50
opcode.pyFile · 0.50
_guess_delimiterMethod · 0.50
ratioMethod · 0.50

Calls

no outgoing calls

Tested by 15

queue_join_testMethod · 0.40
test_mainMethod · 0.40
test_genexpsMethod · 0.40
posonly_sumFunction · 0.40
mixedargs_sumFunction · 0.40
mixedargs_sum2Function · 0.40
statsMethod · 0.40
equivalent_pythonMethod · 0.40
test_func_4Method · 0.40
run_list_inside_setMethod · 0.40