def get_settings(**kwargs):
 settings = DEFAULT_CONFIG.copy()
 for (key, value) in kwargs.items():
  settings[key] = value
 return settings

def get_settings ( ** kwargs ) : settings = DEFAULT_CONFIG . copy ( ) for ( key , value ) in kwargs . items ( ) : settings [ key ] = value return settings
provide tweaked setting dictionaries for testing set keyword arguments to override specific settings .