Return the HTML code for the table cell.
(self)
| 81 | self.header = header |
| 82 | |
| 83 | def __str__(self): |
| 84 | """Return the HTML code for the table cell.""" |
| 85 | if self.header: |
| 86 | return "<th>%s</th>" % (self.text) |
| 87 | else: |
| 88 | return "<td>%s</td>" % (self.text) |
| 89 | |
| 90 | |
| 91 | class SimpleTableImage: |
nothing calls this directly
no outgoing calls
no test coverage detected