MCPcopy Index your code
hub / github.com/bpython/bpython / EvaluationError

Class EvaluationError

bpython/simpleeval.py:38–39  ·  view source on GitHub ↗

Raised if an exception occurred in safe_eval.

Source from the content-addressed store, hash-verified

36
37
38class EvaluationError(Exception):
39 """Raised if an exception occurred in safe_eval."""
40
41
42def safe_eval(expr: str, namespace: dict[str, Any]) -> Any:

Callers 4

_convertFunction · 0.85
safe_getitemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected