(vm: &VirtualMachine)
| 923 | |
| 924 | #[pyfunction] |
| 925 | fn exc_info(vm: &VirtualMachine) -> (PyObjectRef, PyObjectRef, PyObjectRef) { |
| 926 | match vm.topmost_exception() { |
| 927 | Some(exception) => vm.split_exception(exception), |
| 928 | None => (vm.ctx.none(), vm.ctx.none(), vm.ctx.none()), |
| 929 | } |
| 930 | } |
| 931 | |
| 932 | #[pyattr] |
| 933 | fn flags(vm: &VirtualMachine) -> PyTupleRef { |
nothing calls this directly
no test coverage detected