ID EN
Debugger (pdb)

runeval

Python 3.11

Evaluate the expression (given as a string or a code object) under debugger control. When runeval() returns, it returns the value of the expression. Otherwise this function is similar to run().

Syntax

PYTHON
pdb.runeval(expression, globals=None, locals=None)

See Also

runeval() run()