def METHOD_NAME(cls, classobj):
    lines = ['', f'The available formats for the {classobj.__name__} '
             'class are:', '']
    tbl = cls.get_formats(classobj)
    lines.extend(tbl.pformat(max_lines=-1, max_width=80))
    return '\n'.join(lines)