code: def dump_collection(cfg, f, indent=0):
      '''Save a collection of attributes'''
  
      for i, value in enumerate(cfg):
          dump_value(None, value, f, indent)
          if i < len(cfg) - 1:
              f.write(u',\n'f dump_collection(cfg, f, indent=0):
      '''Save a collection of attributes'''
  
      for i, value in enumerate(cfg):
          dump_value(None, value, f, indent)
          if i < len(cfg) - 1:
              f.write(u',\n')
docs: Save a collection of attributes