Skip to content

Commit

Permalink
Merge pull request #66 from Novacer/fix-for-loops
Browse files Browse the repository at this point in the history
Added support for loops, iteration, and range
  • Loading branch information
Novacer committed Sep 23, 2019
2 parents 31be374 + 52f10d2 commit 5d3b473
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/backend/algorithms/custom_algos/allowed_imports.py
Expand Up @@ -29,8 +29,11 @@
'__builtins__': {
'str': str,
'len': len,
'int': int,
'range': range,
},
'__metaclass__': type,
'_getiter_': lambda x: x,
'_write_': lambda x: x,
'_getattr_': getattr,
'_setattr_': setattr,
Expand Down

0 comments on commit 5d3b473

Please sign in to comment.