Return an element of type `tag` with no children.
| 427 | |
| 428 | |
| 429 | class SubstituteTagInlineProcessor(SimpleTagInlineProcessor): |
| 430 | """ Return an element of type `tag` with no children. """ |
| 431 | def handleMatch(self, m: re.Match[str], data: str) -> tuple[etree.Element, int, int]: |
| 432 | """ Return empty [`Element`][xml.etree.ElementTree.Element] of type `tag`. """ |
| 433 | return etree.Element(self.tag), m.start(0), m.end(0) |
| 434 | |
| 435 | |
| 436 | class BacktickInlineProcessor(InlineProcessor): |
no outgoing calls
no test coverage detected
searching dependent graphs…