Return empty [`Element`][xml.etree.ElementTree.Element] of type `tag`.
(self, m: re.Match[str])
| 393 | class SubstituteTagPattern(SimpleTagPattern): # pragma: no cover |
| 394 | """ Return an element of type `tag` with no children. """ |
| 395 | def handleMatch(self, m: re.Match[str]) -> etree.Element: |
| 396 | """ Return empty [`Element`][xml.etree.ElementTree.Element] of type `tag`. """ |
| 397 | return etree.Element(self.tag) |
| 398 | |
| 399 | |
| 400 | class SubstituteTagInlineProcessor(SimpleTagInlineProcessor): |
nothing calls this directly
no outgoing calls
no test coverage detected