Create a comment using the comment_factory. *text* is the text of the comment.
(self, text)
| 1493 | return self._last |
| 1494 | |
| 1495 | def comment(self, text): |
| 1496 | """Create a comment using the comment_factory. |
| 1497 | |
| 1498 | *text* is the text of the comment. |
| 1499 | """ |
| 1500 | return self._handle_single( |
| 1501 | self._comment_factory, self.insert_comments, text) |
| 1502 | |
| 1503 | def pi(self, target, text=None): |
| 1504 | """Create a processing instruction using the pi_factory. |