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