Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tabasics.py
diff options
context:
space:
mode:
authorMarion <marion.zepf@gmail.com>2013-07-29 16:01:33 (GMT)
committer Marion <marion.zepf@gmail.com>2013-07-29 16:01:33 (GMT)
commit257cd6c88bc683bded0ad4b0c94d0f0dd62cbad5 (patch)
treea6621c0e5684c99ce277e4b0a8736dbbd009f8fb /TurtleArt/tabasics.py
parent08cdd615ee47fee0df66e391e74d7eb7fb0d2e9e (diff)
treat float.__neg__ as the minus sign when converting it to an AST
Diffstat (limited to 'TurtleArt/tabasics.py')
-rw-r--r--TurtleArt/tabasics.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/TurtleArt/tabasics.py b/TurtleArt/tabasics.py
index 10fa798..6540b4b 100644
--- a/TurtleArt/tabasics.py
+++ b/TurtleArt/tabasics.py
@@ -252,7 +252,8 @@ towards the top of the screen.)'))
1,
Primitive(Turtle.set_heading,
slot_wrappers={0: Primitive(float, export_me=False)},
- call_afterwards=lambda value: self.after_set('heading', value)))
+ call_afterwards=lambda value: self.after_set('heading',
+ value)))
palette.add_block('xcor',
style='box-style',