def __str__(self):
attribs_str = "<STR_LIT>"<EOL>if self.bgcolor: self.attribs['<STR_LIT>'] = self.bgcolor<EOL>for attr in self.attribs:<EOL><INDENT>attribs_str += '<STR_LIT>' % (attr, self.attribs[attr])<EOL><DEDENT>result = '<STR_LIT>' % attribs_str<EOL>for cell in self.cells:<EOL><INDENT>col = self.cells.index(cell)    <EOL>if not isinstance(cell, TableCell):<EOL><INDENT>cell = TableCell(cell, header=self.header)<EOL><DEDENT>if self.col_align and cell.align==None:<EOL><INDENT>cell.align = self.col_align[col]<EOL><DEDENT>if self.col_char and cell.char==None:<EOL><INDENT>cell.char = self.col_char[col]<EOL><DEDENT>if self.col_charoff and cell.charoff==None:<EOL><INDENT>cell.charoff = self.col_charoff[col]<EOL><DEDENT>if self.col_valign and cell.valign==None:<EOL><INDENT>cell.valign = self.col_valign[col]<EOL><DEDENT>if self.col_styles and cell.style==None:<EOL><INDENT>cell.style = self.col_styles[col]<EOL><DEDENT>result += str(cell)<EOL><DEDENT>result += '<STR_LIT>'<EOL>return result<EOL>
return the HTML code for the table row as a string