def overridden_settings(settings):
 for (name, defvalue) in iter_default_settings():
  value = settings[name]
  if ((not isinstance(defvalue, dict)) and (value != defvalue)):
   (yield (name, value))

def overridden_settings ( settings ) : for ( name , defvalue ) in iter_default_settings ( ) : value = settings [ name ] if ( ( not isinstance ( defvalue , dict ) ) and ( value != defvalue ) ) : ( yield ( name , value ) )
return a dict of the settings that have been overridden .