Files
RustPython/tests/snippets/function_nested.py
2018-07-09 22:06:49 +02:00

9 lines
138 B
Python

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