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