pylint/checkers/raw_metrics.py
def process_tokens(self, tokens):
        """update stats"""
        i = 0
        tokens = list(tokens)
        while i < len(tokens):
            i, lines_number, line_type = get_type(tokens, i)
            self.stats["total_lines"] += lines_number
            self.stats[line_type] += lines_number
def process_tokens(self, tokens):
        """update stats"""
        i = 0
        tokens = list(tokens)
        while i < len(tokens):
            i, lines_number, line_type = get_type(tokens, i)
            self.stats["total_lines"] += lines_number
            self.stats[line_type] += lines_number
def process_tokens ( self , tokens ) : i = 0 tokens = list ( tokens ) while i < len ( tokens ) : i , lines_number , line_type = get_type ( tokens , i ) self . stats [ "total_lines" ] += lines_number self . stats [ line_type ] += lines_number
update stats
update stats