aboutsummaryrefslogtreecommitdiff
path: root/python/step0_repl.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/step0_repl.py')
-rw-r--r--python/step0_repl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/step0_repl.py b/python/step0_repl.py
index bb4d6bf..d915989 100644
--- a/python/step0_repl.py
+++ b/python/step0_repl.py
@@ -11,7 +11,7 @@ def EVAL(ast, env):
try:
return eval(ast)
except SyntaxError:
- exec compile(ast, '', 'single') in globals()
+ exec(compile(ast, '', 'single'), globals())
return None
# print