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

Function sub_html

tools/npy_tempita/__init__.py:505–508  ·  view source on GitHub ↗
(content, **kw)

Source from the content-addressed store, hash-verified

503
504
505def sub_html(content, **kw):
506 name = kw.get('__name')
507 tmpl = HTMLTemplate(content, name=name)
508 return tmpl.substitute(kw)
509
510
511class TemplateDef:

Callers

nothing calls this directly

Calls 3

HTMLTemplateClass · 0.85
getMethod · 0.45
substituteMethod · 0.45

Tested by

no test coverage detected