code: def remove_section(self, section_name):
          
          if section_name == "DEFAULT":
              raise Exception("'DEFAULT' is reserved section name.")
  
          if section_name in self._sections:
              del self._sections[section_name]
          else:
              raise Exception("Error! cannot find section '%s'.")
docs: Remove a section, it cannot be the DEFAULT section.