(self, s)
| 129 | self.lastEvent = self.lastEvent[1] |
| 130 | |
| 131 | def comment(self, s): |
| 132 | if self.document: |
| 133 | node = self.document.createComment(s) |
| 134 | self.lastEvent[1] = [(COMMENT, node), None] |
| 135 | self.lastEvent = self.lastEvent[1] |
| 136 | else: |
| 137 | event = [(COMMENT, s), None] |
| 138 | self.pending_events.append(event) |
| 139 | |
| 140 | def processingInstruction(self, target, data): |
| 141 | if self.document: |
nothing calls this directly
no test coverage detected