Path 1: 133 calls (1.0)

Break (133)

1@utils.only_required_for_messages("unreachable", "lost-exception")
2    def visit_break(self, node: nodes.Break) -> None:
3        """Break node visitor.
4
5        1 - check if the node has a right sibling (if so, that's some
6        unreachable code)
7        2 - check if the node is inside the 'finally' clause of a 'try...finally'
8        block
9        """
10        # 1 - Is it right sibling ?
11        self._check_unreachable(node)
12        # 2 - Is it inside final body of a try...finally block ?
13        self._check_not_in_finally(node, "break", (nodes.For, nodes.While))