dis.findlinestarts(code)
This generator function uses the co_firstlineno
and co_lnotab
attributes of the code object code to find the offsets which are starts of lines in the source code. They are generated as (offset, lineno)
pairs.
dis.findlinestarts(code)
This generator function uses the co_firstlineno
and co_lnotab
attributes of the code object code to find the offsets which are starts of lines in the source code. They are generated as (offset, lineno)
pairs.
Please login to continue.