class documentation

State machine for decoding a Python line number array.

Method __init__ Undocumented
Method get Get the line number for the instruction at the given position.
Instance Variable lineno Undocumented
Instance Variable lnotab Undocumented
Instance Variable next_addr Undocumented
Instance Variable pos Undocumented
def __init__(self, lnotab: bytes, firstlineno: int, python_version: Tuple[int, int]): (source)

Undocumented

Get the line number for the instruction at the given position. This does NOT allow random access. Call with incremental numbers. The format of the line number table is described in https://github.com/python/cpython/blob/master/Objects/lnotab_notes.txt. Args: i: The byte position in the bytecode. i needs to stay constant or increase between calls. Returns: The line number corresponding to the position at i.

Undocumented

Undocumented

next_addr = (source)

Undocumented

Undocumented