From 955cbca83a84b0c1ea06f8c33dfec8dd0f850ed1 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Wed, 30 Oct 2013 17:24:11 +0000 Subject: comvert custom blocks to new prim style -- args is passed as a tuple --- (limited to 'pysamples/uturn.py') 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 -- cgit v0.9.1