MCPcopy Create free account
hub / github.com/numpy/numpy / paste_script_template_renderer

Function paste_script_template_renderer

tools/npy_tempita/__init__.py:390–392  ·  view source on GitHub ↗
(content, vars, filename=None)

Source from the content-addressed store, hash-verified

388
389
390def paste_script_template_renderer(content, vars, filename=None):
391 tmpl = Template(content, name=filename)
392 return tmpl.substitute(vars)
393
394
395class bunch(dict):

Callers

nothing calls this directly

Calls 2

substituteMethod · 0.95
TemplateClass · 0.85

Tested by

no test coverage detected