

def items(before, left_delimiter, items, trailing_comma=True):
    indent = ('    ' + _indent_for(before))
    joined = ', '.join(items)
    if (is_tuple(before, left_delimiter) and (len(items) == 1)):
        joined += ','
    if (len((indent + joined)) > 79):
        trailing = (',' if trailing_comma else '')
        return (',\n'.join(((indent + item) for item in items)) + trailing)
    return joined

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