:type i: int :rtype: int
(self, i)
| 342 | return ''.join(self.pieces) |
| 343 | |
| 344 | def parse_declaration(self, i): |
| 345 | """ |
| 346 | :type i: int |
| 347 | :rtype: int |
| 348 | """ |
| 349 | |
| 350 | try: |
| 351 | return sgmllib.SGMLParser.parse_declaration(self, i) |
| 352 | except (AssertionError, sgmllib.SGMLParseError): |
| 353 | # Escape the doctype declaration and continue parsing. |
| 354 | self.handle_data('<') |
| 355 | return i+1 |
nothing calls this directly
no test coverage detected