Output extra source code after visiting a child of an ``Output`` node.
(
self, node: nodes.Expr, frame: Frame, finalize: _FinalizeInfo
)
| 1490 | self.write(finalize.src) |
| 1491 | |
| 1492 | def _output_child_post( |
| 1493 | self, node: nodes.Expr, frame: Frame, finalize: _FinalizeInfo |
| 1494 | ) -> None: |
| 1495 | """Output extra source code after visiting a child of an |
| 1496 | ``Output`` node. |
| 1497 | """ |
| 1498 | self.write(")") |
| 1499 | |
| 1500 | if finalize.src is not None: |
| 1501 | self.write(")") |
| 1502 | |
| 1503 | def visit_Output(self, node: nodes.Output, frame: Frame) -> None: |
| 1504 | # If an extends is active, don't render outside a block. |