'If the given section exists, set the given option to the specified
value; otherwise raise NoSectionError.'

def set_value(self, section, option, value):

    if self.has_section(section):
        self.options[section][option].set_value(value)
