Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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