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

Method _interpret

tools/npy_tempita/__init__.py:195–204  ·  view source on GitHub ↗
(self, ns)

Source from the content-addressed store, hash-verified

193 return result
194
195 def _interpret(self, ns):
196 # __traceback_hide__ = True
197 parts = []
198 defs = {}
199 self._interpret_codes(self._parsed, ns, out=parts, defs=defs)
200 if '__inherit__' in defs:
201 inherit = defs.pop('__inherit__')
202 else:
203 inherit = None
204 return ''.join(parts), defs, inherit
205
206 def _interpret_inherit(self, body, defs, inherit_template, ns):
207 # __traceback_hide__ = True

Callers 1

substituteMethod · 0.95

Calls 2

_interpret_codesMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected