code: def process_repeated_list(self, key, lst, level):
          
          lines = []
  
          for v in lst:
              k = key.upper()
              v = self.quoter.add_quotes(v)
              lines.append(self.__format_line(self.whitespace(level, 1), k, v))
  
          return lines
docs: Process blocks of repeated keys e.g. FORMATOPTION