diff options
author | Walter Bender <walter.bender@gmail.com> | 2011-05-19 16:45:10 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2011-05-19 16:45:10 (GMT) |
commit | 7bd6f640609e8beeedd0cd41d9c45124a32ac3db (patch) | |
tree | cf888f6ffc270c811e0577ef0eb6285b6aa52155 /TurtleArt | |
parent | e056513a2142a99588eab872a8151e474ee9c567 (diff) |
cleaned up comment on how to add new blocks
Diffstat (limited to 'TurtleArt')
-rw-r--r-- | TurtleArt/tabasics.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TurtleArt/tabasics.py b/TurtleArt/tabasics.py index 0f01830..bfed2d7 100644 --- a/TurtleArt/tabasics.py +++ b/TurtleArt/tabasics.py @@ -42,8 +42,8 @@ add_block method in the Palette class. # Next, you need to define what your block will do: # def_prim takes 3 arguments: the primitive name, the number of - # of arguments, 0 in this case, and the function to call, in this - # case, the canvas function to set the heading. + # arguments -- 0 in this case -- and the function to call -- in this + # case, the canvas.seth function to set the heading. self.tw.lc.def_prim('uturn', 0, lambda self: self.tw.canvas.seth(self.tw.canvas.heading + 180)) |