pylint/checkers/design_analysis.py
def visit_tryexcept(self, node):
        """increments the branches counter"""
        branches = len(node.handlers)
        if node.orelse:
            branches += 1
        self._inc_branch(node, branches)
        self._inc_all_stmts(branches)
def visit_tryexcept(self, node):
        """increments the branches counter"""
        branches = len(node.handlers)
        if node.orelse:
            branches += 1
        self._inc_branch(node, branches)
        self._inc_all_stmts(branches)
def visit_tryexcept ( self , node ) : branches = len ( node . handlers ) if node . orelse : branches += 1 self . _inc_branch ( node , branches ) self . _inc_all_stmts ( branches )
increments the branches counter
increments the branches counter