code: def remove_mid_line_ifs(self, ifs):
          
  
          # FIXME: this doesn't work for Python 3.6+
  
          filtered = []
          for i in ifs:
              # For each offset, if line number of current and next op
              # is the same
              if self.lines[i].l_no == self.lines[i+3].l_no:
                  # Skip last op on line if it is some sort of POP_JUMP.
                  if self.code[self.prev[self.lines[i].next]] in (self.opc.PJIT, self.opc.PJIF):
                      continue
              filtered.append(i)
          return filtered
docs: Go through passed offsets, filtering ifs
          located somewhere mid-line.