Skip to content
New: Star-import, signal unraveling, Python 3.12 support, and more

# eval_ module

Utilities for evaluation and compilation.

## multiline_eval function

    multiline_eval(
        expr,
        context=None
    )

Evaluate several lines of input, returning the result of the last line.

#### Cookie consent

We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better.

- Google Analytics
- GitHub

Manage settings