Helper functions for ExceptionGroup
(obj: &PyObject, vm: &VirtualMachine)
| 366 | |
| 367 | // Helper functions for ExceptionGroup |
| 368 | fn is_base_exception_group(obj: &PyObject, vm: &VirtualMachine) -> bool { |
| 369 | obj.fast_isinstance(vm.ctx.exceptions.base_exception_group) |
| 370 | } |
| 371 | |
| 372 | fn get_exceptions_tuple( |
| 373 | exc: &Py<PyBaseException>, |
no test coverage detected