(self, item)
Deletes the given item from the configuration.

        If the item has a default value, the default value is written back instead
        of the current value. Without a default value, the item is really deleted.
Deletes the given item from the configuration.
Deletes the given item from the configuration .
def __delitem__(self, item):
        """Deletes the given item from the configuration.

        If the item has a default value, the default value is written back instead
        of the current value. Without a default value, the item is really deleted.
        """
        section, key = self._item_to_section_key(item)
        definition = self._definitions.get("%s.%s" % (section, key), {})
        if "default" in definition:
            self[item] = definition["default"]
        else:
            self._config.remove_option(section, key)
def __delitem__ ( self , item ) : section , key = self . _item_to_section_key ( item ) definition = self . _definitions . get ( "%s.%s" % ( section , key ) , { } ) if "default" in definition : self [ item ] = definition [ "default" ] else : self . _config . remove_option ( section , key )