use the result as an argument for the call to the function force_text, return the result. call the function allow_lazy with 2 arguments: urlunquote and six.text_type, substitute the result for urlunquote.
urlunquote = allow_lazy ( urlunquote , six . text_type )