code: 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)
docs: Construct a Bytecode from the given traceback