forked from M-Labs/artiq
cleanup
This commit is contained in:
parent
d63c3264d3
commit
733a03b7ad
|
@ -4,4 +4,4 @@ def eval_ast(expr, symdict=dict()):
|
||||||
if not isinstance(expr, ast.Expression):
|
if not isinstance(expr, ast.Expression):
|
||||||
expr = ast.Expression(expr)
|
expr = ast.Expression(expr)
|
||||||
code = compile(expr, "<ast>", "eval")
|
code = compile(expr, "<ast>", "eval")
|
||||||
return eval(code, symdict)#
|
return eval(code, symdict)
|
||||||
|
|
Loading…
Reference in New Issue