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

Method outdent

src/jinja2/compiler.py:418–420  ·  src/jinja2/compiler.py::CodeGenerator.outdent

Outdent by step.

(self, step: int = 1)

Source from the content-addressed store, hash-verified

416 self._indentation += 1
417
418 def outdent(self, step: int = 1) -> None:
419 class="st">""class="st">"Outdent by step."class="st">""
420 self._indentation -= step
421
422 def start_write(self, frame: Frame, node: t.Optional[nodes.Node] = None) -> None:
423 class="st">""class="st">"Yield or write into the frame buffer."class="st">""

Callers 13

pull_dependenciesMethod · 0.95
macro_bodyMethod · 0.95
visit_TemplateMethod · 0.95
visit_BlockMethod · 0.95
visit_ExtendsMethod · 0.95
visit_IncludeMethod · 0.95
loop_bodyMethod · 0.95
visit_FromImportMethod · 0.95
visit_ForMethod · 0.95
visit_IfMethod · 0.95
visit_OutputMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected