Skip to main content

exception_group_match

Function exception_group_match 

Source
pub fn exception_group_match(
    exc_value: &PyObjectRef,
    match_type: &PyObjectRef,
    vm: &VirtualMachine,
) -> PyResult<(PyObjectRef, PyObjectRef)>
Expand description

Match exception against except* handler type. Returns (rest, match) tuple.