(&self, frame: FrameRef)
| 1188 | |
| 1189 | #[inline(always)] |
| 1190 | pub fn run_frame(&self, frame: FrameRef) -> PyResult { |
| 1191 | match self.with_frame(frame, |f| f.run(self))? { |
| 1192 | ExecutionResult::Return(value) => Ok(value), |
| 1193 | _ => panic!("Got unexpected result from function"), |
| 1194 | } |
| 1195 | } |
| 1196 | |
| 1197 | /// Run `run` with main scope. |
| 1198 | fn with_simple_run( |
no test coverage detected