Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/taconstants.py
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2013-11-04 23:44:04 (GMT)
committer Walter Bender <walter@sugarlabs.org>2013-11-04 23:44:04 (GMT)
commitcbfc7003fa5adf7455b3892a38cc780195f4ef8c (patch)
tree3e1a6cb2e530e06ea17c85ad02b015777455b906 /TurtleArt/taconstants.py
parentbf4e13dadb31fbb41fc733b8e465f7c3e405e509 (diff)
add more restrictions to arithmetic docking
Diffstat (limited to 'TurtleArt/taconstants.py')
-rw-r--r--TurtleArt/taconstants.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/TurtleArt/taconstants.py b/TurtleArt/taconstants.py
index 1cedaa3..811e499 100644
--- a/TurtleArt/taconstants.py
+++ b/TurtleArt/taconstants.py
@@ -79,6 +79,11 @@ XO4 = 'xo4'
UNKNOWN = 'unknown'
TMP_SVG_PATH = '/tmp/turtle_output.svg'
+ARG_MUST_BE_NUMBER = ['product2', 'minus2', 'random', 'remainder2', 'forward',
+ 'back', 'left', 'right', 'arc', 'setxy2', 'setxy',
+ 'fillscreen', 'setscale', 'setpensize', 'wait',
+ 'setcolor', 'seth', 'setgray', 'setshade', 'string']
+
KEY_DICT = {
'Left': 1,
'KP_Left': 1,