Handle comments as Comment objects.
(self, content)
| 212 | self.soup.object_was_parsed(doctype) |
| 213 | |
| 214 | def comment(self, content): |
| 215 | "Handle comments as Comment objects." |
| 216 | self.soup.endData() |
| 217 | self.soup.handle_data(content) |
| 218 | self.soup.endData(Comment) |
| 219 | |
| 220 | def test_fragment_to_document(self, fragment): |
| 221 | """See `TreeBuilder`.""" |
nothing calls this directly
no test coverage detected