MCPcopy Index your code
hub / github.com/numpy/numpy / _ensure_exprdict

Function _ensure_exprdict

numpy/f2py/crackfortran.py:3177–3186  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

3175
3176
3177def _ensure_exprdict(r):
3178 if isinstance(r, int):
3179 return {'typespec': 'integer'}
3180 if isinstance(r, float):
3181 return {'typespec': 'real'}
3182 if isinstance(r, complex):
3183 return {'typespec': 'complex'}
3184 if isinstance(r, dict):
3185 return r
3186 raise AssertionError(repr(r))
3187
3188
3189def determineexprtype(expr, vars, rules={}):

Callers 1

determineexprtypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…