def find_lines(code, strs):
    # get all of the lineno information from the code of this scope level
    linenos = find_lines_from_code(code, strs)

    # and check the constants for references to other code objects
    for c in code.co_consts:
        if inspect.iscode(c):
            # find another code object, so recurse into it
            linenos.update(find_lines(c, strs))
    return linenos
Return lineno dict for all code objects reachable from code.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/trace.py/find_lines