From 795c89415ea2f79ddb52ca287c682717a6781829 Mon Sep 17 00:00:00 2001 From: Marion Date: Wed, 04 Sep 2013 09:55:39 +0000 Subject: 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. --- (limited to 'TurtleArt/tatype.py') 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': -- cgit v0.9.1