MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / formatLocals

Method formatLocals

src/Translate/Translate.py:81–83  ·  view source on GitHub ↗
(self, s, nested=False)

Source from the content-addressed store, hash-verified

79 return self.formatter.vformat(s, [], kwargs)
80
81 def formatLocals(self, s, nested=False):
82 kwargs = inspect.currentframe().f_back.f_locals
83 return self.format(s, kwargs, nested=nested)
84
85 def __call__(self, s, kwargs=None, nested=False, escape=True):
86 if not kwargs:

Callers

nothing calls this directly

Calls 1

formatMethod · 0.95

Tested by

no test coverage detected