(self, encoding=DEFAULT_OUTPUT_ENCODING)
| 463 | |
| 464 | class ProcessingInstruction(NavigableString): |
| 465 | def __str__(self, encoding=DEFAULT_OUTPUT_ENCODING): |
| 466 | output = self |
| 467 | if "%SOUP-ENCODING%" in output: |
| 468 | output = self.substituteEncoding(output, encoding) |
| 469 | return "<?%s?>" % self.toEncoding(output, encoding) |
| 470 | |
| 471 | class Comment(NavigableString): |
| 472 | def __str__(self, encoding=DEFAULT_OUTPUT_ENCODING): |
nothing calls this directly
no test coverage detected