def get_best_language(accept_lang):
 ranked = parse_accept_lang_header(accept_lang)
 return find_supported(ranked)

def get_best_language ( accept_lang ) : ranked = parse_accept_lang_header ( accept_lang ) return find_supported ( ranked )
given an accept-language header .