'Retrieve a StatsEntry instance by name and method'

def get(self, name, method):

    entry = self.entries.get((name, method))
    if (not entry):
        entry = StatsEntry(self, name, method)
        self.entries[(name, method)] = entry
    return entry
