def pretty_class_dump(cls, indent=4, line_sep='\n', delim=':', name_delim='= '
    ):
    """Formats the output of _class_dump() as a string
    """
    ret = []
    sindent = ' ' * indent
    for sname, slist in cls._class_dump().items():
        if ret:
            ret += line_sep
        ret += [sindent, sname, name_delim]
        for m, c in slist:
            ret += [m, '.', c, delim]
        ret.pop()
    return ''.join(ret)
