def METHOD_NAME(clause_part, max_size):
    clause_elements = [clause_part]
    for offset in range(0, max_size):
        if offset > 0:
            clause_elements.append(', ')
        clause_elements.append('%s')
    clause_elements.append(')')
    return ''.join(clause_elements)