pyrser/fmt.py
def list_to_str(lst: list, content: str, indent: int=1):
    """recurs into list for string computing """
    for i in lst:
        if isinstance(i, indentable):
            content = i.to_str(content, indent)
        elif isinstance(i, list):
            content = list_to_str(i, content, indent)
        elif isinstance(i, str):
            content = catend(content, i, indent)
    return content
def list_to_str(lst: list, content: str, indent: int=1):
    for i in lst:
        if isinstance(i, indentable):
            content = i.to_str(content, indent)
        elif isinstance(i, list):
            content = list_to_str(i, content, indent)
        elif isinstance(i, str):
            content = catend(content, i, indent)
    return content
def list_to_str ( lst : list , content : str , indent : int = 1 ) : for i in lst : if isinstance ( i , indentable ) : content = i . to_str ( content , indent ) elif isinstance ( i , list ) : content = list_to_str ( i , content , indent ) elif isinstance ( i , str ) : content = catend ( content , i , indent ) return content
recurs into list for string computing
recurs into list for string computing