diff options
author | Marion <marion.zepf@gmail.com> | 2013-09-04 09:55:39 (GMT) |
---|---|---|
committer | Marion <marion.zepf@gmail.com> | 2013-09-04 09:55:39 (GMT) |
commit | 795c89415ea2f79ddb52ca287c682717a6781829 (patch) | |
tree | ac002840d05ce7881c82b15c8520e7ae88670e20 /TurtleArt/tatype.py | |
parent | e18c96fcd0265867757e2d1a09dab608aaa5fab8 (diff) |
update Primitives for 'hat' (top of an action stack) and 'stack' blocks
- Insert 'yield True' after every call to logo.icall(...) in the exported
code.
Diffstat (limited to 'TurtleArt/tatype.py')
-rw-r--r-- | TurtleArt/tatype.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/TurtleArt/tatype.py b/TurtleArt/tatype.py index 0fcd74c..b2b14f4 100644 --- a/TurtleArt/tatype.py +++ b/TurtleArt/tatype.py @@ -121,7 +121,6 @@ def get_type(x): return (TypeDisjunction((TYPE_OBJECT, TYPE_STRING, TYPE_NUMBER, TYPE_FLOAT, TYPE_INT, TYPE_NUMERIC_STRING, TYPE_CHAR, TYPE_COLOR)), True) - # TODO elif x.value == ACTION_AST: elif isinstance(x, ast.Call): if isinstance(x.func, ast.Name): if x.func.id == 'float': |