Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-03-02 18:07:08 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-03-02 18:07:08 (GMT)
commitfc024bf23270a0bc32486a724ff0b6a809e1a824 (patch)
treef7efeee49f74bad0aab0265b17cf5411902acbcd /TurtleArt
parenta8088cd1009cea3efed0f99c4b7d7c4196285616 (diff)
updated comment to reflect new location of helper method
Diffstat (limited to 'TurtleArt')
-rw-r--r--TurtleArt/tabasics.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/TurtleArt/tabasics.py b/TurtleArt/tabasics.py
index ed578a9..fd26209 100644
--- a/TurtleArt/tabasics.py
+++ b/TurtleArt/tabasics.py
@@ -29,12 +29,12 @@ which contains additional blocks. (Even better, write your own plugin!!)
For example, if we want to add a new turtle command, 'uturn', we'd
make the following changes:
- self._make_prim('uturn', # the name of your block
- palette='turtle', # the palette to place it in
- style='basic-style', # the block style
- label=_('u turn'), # the label for the block
- prim_name='uturn', # code reference (see below)
- help_string=_('turns the turtle 180 degrees'))
+ make_prim('uturn', # the name of your block
+ palette='turtle', # the palette to place it in
+ style='basic-style', # the block style
+ label=_('u turn'), # the label for the block
+ prim_name='uturn', # code reference (see below)
+ help_string=_('turns the turtle 180 degrees'))
# Next, you need to define what your block will do:
# def_prim takes 3 arguments: the primitive name, the number of