void (List<? super PyExpression> result, PyExpression value) { value = flattenParens(value); if (value instanceof PySequenceExpression) { ContainerUtil.addAll(result, ((PySequenceExpression)value).getElements()); } else { result.add(value); } }