MCPcopy Index your code
hub / github.com/RustPython/RustPython / is_base_exception_group

Function is_base_exception_group

crates/vm/src/exception_group.rs:368–370  ·  view source on GitHub ↗

Helper functions for ExceptionGroup

(obj: &PyObject, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

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>,

Callers 3

subgroupMethod · 0.85
splitMethod · 0.85

Calls 1

fast_isinstanceMethod · 0.80

Tested by

no test coverage detected