(self, data)
| 30 | self.tree = HTMLTree(self.doc) |
| 31 | |
| 32 | def feed(self, data): |
| 33 | # HTMLParser is an old style class, so the super() method will not work. |
| 34 | HTMLParser.feed(self, data) |
| 35 | self.tree.write() |
| 36 | self.tree = HTMLTree(self.doc) |
| 37 | |
| 38 | def close(self): |
| 39 | HTMLParser.close(self) |