(cls, tb)
return cls(tb.tb_frame.f_code, current_offset=tb.tb_lasti)
Construct a Bytecode from the given traceback
Construct a Bytecode from the given traceback
Construct a Bytecode from the given traceback
def from_traceback(cls, tb):
        """ Construct a Bytecode from the given traceback """
        while tb.tb_next:
            tb = tb.tb_next
        return cls(tb.tb_frame.f_code, current_offset=tb.tb_lasti)
def from_traceback ( cls , tb ) : while tb . tb_next : tb = tb . tb_next return cls ( tb . tb_frame . f_code , current_offset = tb . tb_lasti )