def __str__(self):
attribs_str = "<STR_LIT>"<EOL>if self.start:  self.attribs['<STR_LIT:start>'] = self.start<EOL>for attr in self.attribs:<EOL><INDENT>attribs_str += '<STR_LIT>' % (attr, self.attribs[attr])<EOL><DEDENT>if self.ordered: tag = '<STR_LIT>'<EOL>else:            tag = '<STR_LIT>'<EOL>result = '<STR_LIT>' % (tag, attribs_str)<EOL>for line in self.lines:<EOL><INDENT>result += '<STR_LIT>' % str(line)<EOL><DEDENT>result += '<STR_LIT>' % tag<EOL>return result<EOL>
return the HTML code for the list as a string