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

Method inner

src/jinja2/compiler.py:226–230  ·  view source on GitHub ↗

Return an inner frame.

(self, isolated: bool = False)

Source from the content-addressed store, hash-verified

224 return rv
225
226 def inner(self, isolated: bool = False) -> "Frame":
227 """Return an inner frame."""
228 if isolated:
229 return Frame(self.eval_ctx, level=self.symbols.level + 1)
230 return Frame(self.eval_ctx, self)
231
232 def soft(self) -> "te.Self":
233 """Return a soft frame. A soft frame may not be modified as

Callers 7

macro_bodyMethod · 0.45
visit_ForMethod · 0.45
visit_FilterBlockMethod · 0.45
visit_WithMethod · 0.45
visit_AssignBlockMethod · 0.45
visit_ScopeMethod · 0.45
visit_OverlayScopeMethod · 0.45

Calls 1

FrameClass · 0.85

Tested by

no test coverage detected