def items(self):
        for (filename, code, linenos) in self._toplevel:
            measures = self[code]
            if not measures:
                continue    # skip if no measurement
            line_iterator = ((line, measures.get(line)) for line in linenos)
            yield (filename, line_iterator)
Iterate on the toplevel code blocks.
dataset/ETHPy150Open fabianp/memory_profiler/memory_profiler.py/CodeMap.items