(r)
| 3175 | |
| 3176 | |
| 3177 | def _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 | |
| 3189 | def determineexprtype(expr, vars, rules={}): |
no outgoing calls
no test coverage detected
searching dependent graphs…