diff options
author | Marion <marion.zepf@gmail.com> | 2013-07-29 16:01:33 (GMT) |
---|---|---|
committer | Marion <marion.zepf@gmail.com> | 2013-07-29 16:01:33 (GMT) |
commit | 257cd6c88bc683bded0ad4b0c94d0f0dd62cbad5 (patch) | |
tree | a6621c0e5684c99ce277e4b0a8736dbbd009f8fb /TurtleArt/tabasics.py | |
parent | 08cdd615ee47fee0df66e391e74d7eb7fb0d2e9e (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.py | 3 |
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', |