nl: convert the first element of the result to uppercase, append to it the rest of the result, substitute it for capfirst. call the function allow_lazy with 3 arguments: capfirst and six.text_type.
code: capfirst = allow_lazy ( capfirst , six . text_type )