MCPcopy Create free account
hub / github.com/pyload/pyload / bytecode_from_string

Method bytecode_from_string

module/lib/jinja2/bccache.py:83–85  ·  view source on GitHub ↗

Load bytecode from a string.

(self, string)

Source from the content-addressed store, hash-verified

81 f.write(marshal.dumps(self.code))
82
83 def bytecode_from_string(self, string):
84 """Load bytecode from a string."""
85 self.load_bytecode(StringIO(string))
86
87 def bytecode_to_string(self):
88 """Return the bytecode as string."""

Callers 1

load_bytecodeMethod · 0.80

Calls 1

load_bytecodeMethod · 0.95

Tested by

no test coverage detected