monty 0.0.21

A sandboxed, snapshotable Python interpreter written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
# run-async
# Basic async function that returns a value


async def foo():
    return 123


result = await foo()  # pyright: ignore
assert result == 123