Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/taconstants.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-02-22 20:55:54 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-02-22 20:55:54 (GMT)
commit0e8395eace67c8aaee93d0c04711a371821abb6e (patch)
tree627c46f65be627949b7cdeabe63cb88c71936428 /taconstants.py
parent728d389f896c128cb5db77262b8779ab84743ea5 (diff)
fixed variable no. of args for Python function
Diffstat (limited to 'taconstants.py')
-rw-r--r--taconstants.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/taconstants.py b/taconstants.py
index 892d91b..0eea6aa 100644
--- a/taconstants.py
+++ b/taconstants.py
@@ -124,7 +124,7 @@ PALETTES = [['clean', 'forward', 'back', 'show', 'left', 'right',
'storeinbox1', 'storeinbox2', 'string', 'box1', 'box2', 'box',
'storein', 'start'],
['kbinput', 'push', 'printheap', 'keyboard', 'pop', 'clearheap',
- 'myfunc', 'nop', 'addturtle', 'comment', 'print', 'cartesian',
+ 'myfunc2', 'nop', 'addturtle', 'comment', 'print', 'cartesian',
'width','height', 'polar', 'sandwichtop', 'sandwichbottom'],
['journal', 'audio', 'description', 'savepix', 'hideblocks',
'showblocks', 'fullscreen', 'picturelist', 'picture1x1a',
@@ -408,7 +408,7 @@ PRIMITIVES = {
'list':'bulletlist',
'minus2':'minus',
'myfunc':'myfunction',
- 'myfunc2':'myfunc',
+ 'myfunc2':'myfunction',
'nop':'userdefined',
'not':'not',
'orange':'orange',
@@ -537,7 +537,8 @@ DEFAULTS = {
STRING_OR_NUMBER_ARGS = ['plus2', 'equal2', 'less2', 'greater2', 'box',
'template1x1', 'template1x2', 'template2x1', 'list',
'template2x2', 'template1x1a', 'templatelist', 'nop',
- 'print', 'stack', 'hat', 'addturtle', 'myfunc']
+ 'print', 'stack', 'hat', 'addturtle', 'myfunc',
+ 'myfunc2']
CONTENT_ARGS = ['show', 'showaligned', 'push', 'storein', 'storeinbox1',
'storeinbox2']