Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
505
def
sub_html(content, **kw):
506
name = kw.get(
'__name'
)
507
tmpl = HTMLTemplate(content, name=name)
508
return
tmpl.substitute(kw)
509
510
511
class
TemplateDef:
Callers
nothing calls this directly
Calls
3
HTMLTemplate
Class · 0.85
get
Method · 0.45
substitute
Method · 0.45
Tested by
no test coverage detected