(
source: Either<PyUtf8StrRef, PyRef<crate::builtins::PyCode>>,
scope: ScopeArgs,
vm: &VirtualMachine,
)
| 570 | |
| 571 | #[pyfunction] |
| 572 | fn exec( |
| 573 | source: Either<PyUtf8StrRef, PyRef<crate::builtins::PyCode>>, |
| 574 | scope: ScopeArgs, |
| 575 | vm: &VirtualMachine, |
| 576 | ) -> PyResult { |
| 577 | let scope = scope.make_scope(vm, "exec")?; |
| 578 | run_code(vm, source, scope, crate::compiler::Mode::Exec, "exec") |
| 579 | } |
| 580 | |
| 581 | fn run_code( |
| 582 | vm: &VirtualMachine, |
no test coverage detected