call the function format_html with 2 arguments: string '<ul class="errorlist">{0}</ul>', and return value of the function,
return format_html ( '<ul class="errorlist">{0}</ul>' , format_html_join ( '' , '<li>{0}{1}</li>' , ( ( k , force_text ( v ) ) for k , v in self . items ( ) ) ) )