code: def delete(cls, global_, key):
          
          # first retrieve current configuration
          scope = 'global' if global_ else 'local'
          config = cls._conffiles.get(scope, {})
          cls._del(scope, key)
          conf_file = cls.home_config if global_ else cls.local_config
          # save configuration to file
          cls.save(os.path.expanduser(conf_file), config)
docs: Delete key/value pair from configuration file.