diff options
| author | Joel Martin <github@martintribe.org> | 2015-03-06 16:13:50 -0600 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2015-03-06 16:13:50 -0600 |
| commit | 138901f99a4494fc377b6bbbe6f68bf16846f915 (patch) | |
| tree | 9cde12452cba847634889d50844e80a8abc19aa7 /python | |
| parent | 9ab77a16c0e8054ae769b29b6a305d3c4fb02398 (diff) | |
| parent | 8e4628da2ca6962fc4359a2a4881304a48ad48ea (diff) | |
| download | mal-138901f99a4494fc377b6bbbe6f68bf16846f915.tar.gz mal-138901f99a4494fc377b6bbbe6f68bf16846f915.zip | |
Merge pull request #31 from microamp/py3
Compatibility with Python 3
Diffstat (limited to 'python')
| -rw-r--r-- | python/step0_repl.py | 2 |
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 |
