pylint/reporters/reports_handler_mix_in.py
def add_stats(self, **kwargs):
        """add some stats entries to the statistic dictionary
        raise an AssertionError if there is a key conflict
        """
        for key, value in kwargs.items():
            if key[-1] == "_":
                key = key[:-1]
            assert key not in self.stats
            self.stats[key] = value
        return self.stats
def add_stats(self, **kwargs):
        for key, value in kwargs.items():
            if key[-1] == "_":
                key = key[:-1]
            assert key not in self.stats
            self.stats[key] = value
        return self.stats
def add_stats ( self , * * kwargs ) : for key , value in kwargs . items ( ) : if key [ - 1 ] == "_" : key = key [ : - 1 ] assert key not in self . stats self . stats [ key ] = value return self . stats
add some stats entries to the statistic dictionary
        raise an AssertionError if there is a key conflict
add some stats entries to the statistic dictionary raise an AssertionError if there is a key conflict