code: def get_assign_groups(line, ops=ops):
      
      group = []
      for item in line:
          group.append(item)
          if item in ops:
              yield group
              group = []
      yield group
docs: Split a line into groups by assignment (including
          augmented assignment)