def getlineno(frame):
    # FrameType.f_lineno is now a descriptor that grovels co_lnotab
    return frame.f_lineno
Get the line number from a frame object, allowing for optimization.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/inspect.py/getlineno