code: def write_config_file(self, f, comments):
          
          if len(self.elements) < 1:
              return
          super(_Section, self).write_config_file(f, comments)
  
          for e in self.elements.values():
              e.write_config_file(f, comments)
          f.write("\n")
docs: This method write a sample file, with attributes, descriptions,
          sample values, required flags, using the configuration object
          properties.