code: def add_section(self, section, friendly_name = None):
    
    if not isinstance(section, BASESTRING): # Make sure the user isn't expecting to use something stupid as a key.
     raise ValueError(section)
    # See if we've got this section already:
    if section in self.config:
     raise DuplicateSectionError(section) # Yep... Kick off.
    else:
     self.config[section] = OrderedDict() # Nope... Ad it
     if friendly_name == None:
      friendly_name = section.title()
     if '&' not in friendly_name:
      friendly_name = '&' + friendly_name
     self.section_names[section] = friendly_name
docs: Adds a section and optionally gives it a friendly name..