MCPcopy Create free account
hub / github.com/darktable-org/rawspeed / run

Method run

docs/sphinx-pyexec.py:36–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

34 return results
35
36 def run(self):
37 self.assert_has_content()
38
39 code = '\n'.join(self.content)
40 code_results = self.execute_code(code)
41
42 sl = StringList(code_results.replace("\r", "").split("\n"))
43
44 node = nodes.paragraph()
45 nested_parse_with_titles(self.state, sl, node)
46
47 output = []
48 output.append(node)
49 return output
50
51
52def setup(app):

Callers

nothing calls this directly

Calls 1

execute_codeMethod · 0.95

Tested by

no test coverage detected