MCPcopy
hub / github.com/pallets/jinja / end_write

Method end_write

src/jinja2/compiler.py:429–432  ·  view source on GitHub ↗

End the writing process started by `start_write`.

(self, frame: Frame)

Source from the content-addressed store, hash-verified

427 self.writeline(f"{frame.buffer}.append(", node)
428
429 def end_write(self, frame: Frame) -> None:
430 """End the writing process started by `start_write`."""
431 if frame.buffer is not None:
432 self.write(")")
433
434 def simple_write(
435 self, s: str, frame: Frame, node: t.Optional[nodes.Node] = None

Callers 4

simple_writeMethod · 0.95
visit_ForMethod · 0.95
visit_CallBlockMethod · 0.95
visit_FilterBlockMethod · 0.95

Calls 1

writeMethod · 0.95

Tested by

no test coverage detected