MCPcopy Index your code
hub / github.com/nodejs/node / gettext

Function gettext

tools/inspector_protocol/jinja2/ext.py:139–143  ·  view source on GitHub ↗
(__context, __string, **variables)

Source from the content-addressed store, hash-verified

137def _make_new_gettext(func):
138 @contextfunction
139 def gettext(__context, __string, **variables):
140 rv = __context.call(func, __string)
141 if __context.eval_ctx.autoescape:
142 rv = Markup(rv)
143 return rv % variables
144 return gettext
145
146

Callers

nothing calls this directly

Calls 2

MarkupClass · 0.50
callMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…