def serialize_list(self, tag):
separator, fmt = self.comma, '<STR_LIT>'<EOL>with self.depth():<EOL><INDENT>if self.should_expand(tag):<EOL><INDENT>separator, fmt = self.expand(separator, fmt)<EOL><DEDENT>return fmt.format(separator.join(map(self.serialize, tag)))<EOL><DEDENT>
Return the literal representation of a list tag.