Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pysamples/uturn.py
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2013-10-30 17:24:11 (GMT)
committer Walter Bender <walter@sugarlabs.org>2013-10-30 17:24:11 (GMT)
commit955cbca83a84b0c1ea06f8c33dfec8dd0f850ed1 (patch)
treeb35c003c4250652885887bfa8e554ce84b2b8696 /pysamples/uturn.py
parent32444889db2d7573426b3e93722a566b36385bc3 (diff)
comvert custom blocks to new prim style -- args is passed as a tuple
Diffstat (limited to 'pysamples/uturn.py')
-rw-r--r--pysamples/uturn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysamples/uturn.py b/pysamples/uturn.py
index edd2bcd..f6ff2e0 100644
--- a/pysamples/uturn.py
+++ b/pysamples/uturn.py
@@ -8,7 +8,7 @@
# can use the u-turn block as you would any other block.
-def myblock(tw, arg):
+def myblock(tw, args):
''' Add a uturn block to the 'turtle' palette '''
# def_prim takes 3 arguments: the primitive name, the number of