@staticmethod<EOL><INDENT>def _findlinestarts(code):<DEDENT>
byte_increments = [ord(c) for c in code.co_lnotab[<NUM_LIT:0>::<NUM_LIT:2>]]<EOL>line_increments = [ord(c) for c in code.co_lnotab[<NUM_LIT:1>::<NUM_LIT:2>]]<EOL>lineno = code.co_firstlineno<EOL>addr = <NUM_LIT:0><EOL>for byte_incr, line_incr in zip(byte_increments, line_increments):<EOL><INDENT>if byte_incr:<EOL><INDENT>yield (addr, lineno)<EOL>addr += byte_incr<EOL><DEDENT>lineno += line_incr<EOL><DEDENT>yield (addr, lineno)<EOL>
Find the offsets in a byte code which are start of lines in the
        source.

        Generate pairs (offset, lineno) as described in Python/compile.c.

        This is a modified version of dis.findlinestarts, which allows multiple
        "line starts" with the same line number.