monty 0.0.20

A sandboxed, snapshotable Python interpreter written in Rust.
Documentation
1
2
3
4
5
6
7
# Test: first argument passed both positionally and by keyword
def f(a, b):
    return a + b


f(1, a=2)
# Raise=TypeError("f() got multiple values for argument 'a'")