format_html_join, called with 3 arguments: empty string, string '<li>{0}{1}</li>', tuple containing tuples with 2 elements: k and result of the function force_text with an argument v, for every k and v in items of the dictionary self, return the result. define the method as_text with an argument self.
def as_text ( self ) :