(self, section, option)
Remove an option.
Remove an option.
Remove an option .
def remove_option(self, section, option):
        """Remove an option."""
        if section in self.data:
            sec = self.data[section]
        else:
            raise NoSectionError(section)
        if option in sec:
            del sec[option]
            return 1
        else:
            return 0
def remove_option ( self , section , option ) : if section in self . data : sec = self . data [ section ] else : raise NoSectionError ( section ) if option in sec : del sec [ option ] return 1 else : return 0