Return empty [`Element`][xml.etree.ElementTree.Element] of type `tag`.
(self, m: re.Match[str])
| 422 | class SubstituteTagPattern(SimpleTagPattern): # pragma: no cover |
| 423 | """ Return an element of type `tag` with no children. """ |
| 424 | def handleMatch(self, m: re.Match[str]) -> etree.Element: |
| 425 | """ Return empty [`Element`][xml.etree.ElementTree.Element] of type `tag`. """ |
| 426 | return etree.Element(self.tag) |
| 427 | |
| 428 | |
| 429 | class SubstituteTagInlineProcessor(SimpleTagInlineProcessor): |
nothing calls this directly
no outgoing calls
no test coverage detected