def expand(self, generator, node, depth):
        content = getattr(node, self.field)
        if isinstance(content, Iterable):
            if not content:
                return ''
            expanded = [generator._generate_node(content[0], depth)]
            expanded += [generator.offset(depth) % generator._generate_node(node, depth) for node in content[1:]]            
            return '\n'.join(expanded) + '\n'
        elif isinstance(content, Node):
            return generator._generate_node(content, depth)
        else:
            return str(content)
dataset/ETHPy150Open alehander42/pseudo/pseudo/code_generator_dsl.py/Placeholder.expand/operator `+` -> `%`