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

Method _interpret_codes

tools/npy_tempita/__init__.py:221–227  ·  view source on GitHub ↗
(self, codes, ns, out, defs)

Source from the content-addressed store, hash-verified

219 return templ.substitute(ns)
220
221 def _interpret_codes(self, codes, ns, out, defs):
222 # __traceback_hide__ = True
223 for item in codes:
224 if isinstance(item, basestring_):
225 out.append(item)
226 else:
227 self._interpret_code(item, ns, out, defs)
228
229 def _interpret_code(self, code, ns, out, defs):
230 # __traceback_hide__ = True

Callers 4

_interpretMethod · 0.95
_interpret_forMethod · 0.95
_interpret_ifMethod · 0.95
__call__Method · 0.80

Calls 1

_interpret_codeMethod · 0.95

Tested by

no test coverage detected