

def _multi_line_container(before, left_delimiter, itms, right_delimiter, trailing_comma):
    indent = _indent_for(before)
    itms = items(before, left_delimiter, itms, trailing_comma)
    if (len(itms) < 79):
        itms = (((indent + '    ') + itms) + ',')
    return '{before}{left}\n{items}\n{indent}{right}'.format(before=before, left=left_delimiter, items=itms, indent=indent, right=right_delimiter)

dataset/ETHPy150Open Julian/Condent/condent.py _multi_line_container/original