From 7bd6f640609e8beeedd0cd41d9c45124a32ac3db Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Thu, 19 May 2011 16:45:10 +0000 Subject: cleaned up comment on how to add new blocks --- (limited to 'TurtleArt/tabasics.py') 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)) -- cgit v0.9.1