def format_element(self, elem, format_spec):
    'Format a single element\n\n        For sequences, this is called once for each element in a\n        sequence. For anything else, it is called on the entire\n        object. It is intended to be overridden in subclases.\n        '
    return self.element_formatter.format_field(elem, format_spec)
Format a single element

For sequences, this is called once for each element in a
sequence. For anything else, it is called on the entire
object. It is intended to be overridden in subclases.
def format_element(self, elem, format_spec):
    'Format a single element\n\n        For sequences, this is called once for each element in a\n        sequence. For anything else, it is called on the entire\n        object. It is intended to be overridden in subclases.\n        '
    return self.element_formatter.format_field(elem, format_spec)