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

Method reset

src/jinja2/bccache.py:61–63  ·  view source on GitHub ↗

Resets the bucket (unloads the bytecode).

(self)

Source from the content-addressed store, hash-verified

59 self.reset()
60
61 def reset(self) -> None:
62 """Resets the bucket (unloads the bytecode)."""
63 self.code: t.Optional[CodeType] = None
64
65 def load_bytecode(self, f: t.BinaryIO) -> None:
66 """Loads bytecode from a file or file like object."""

Callers 2

__init__Method · 0.95
load_bytecodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected