Return the HTML code for the table row and its cells as a string.
(self)
| 159 | self.header = header |
| 160 | |
| 161 | def __str__(self): |
| 162 | """Return the HTML code for the table row and its cells as a string.""" |
| 163 | row = [] |
| 164 | |
| 165 | row.append("<tr>") |
| 166 | |
| 167 | for cell in self.cells: |
| 168 | row.append(str(cell)) |
| 169 | |
| 170 | row.append("</tr>") |
| 171 | |
| 172 | return "\n".join(row) |
| 173 | |
| 174 | def __iter__(self): |
| 175 | """Iterate through row cells""" |
nothing calls this directly
no outgoing calls
no test coverage detected