monty 0.0.21

A sandboxed, snapshotable Python interpreter written in Rust.
Documentation
1
2
3
4
5
6
7
# Test: too many positional arguments with positional-only params
def f(a, b, /):
    return a + b


f(1, 2, 3)
# Raise=TypeError('f() takes 2 positional arguments but 3 were given')