diff options
author | Walter Bender <walter.bender@gmail.com> | 2011-03-03 15:34:37 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2011-03-03 15:34:37 (GMT) |
commit | 8aa0f2223565fb58fa4f4e18e3bcf5b4a1b4db14 (patch) | |
tree | a658d203c83b07e62a4fe13a53c2d7ff25f39b4c /plugins/turtle_blocks_plugin.py | |
parent | 7e9f220378c42734ea918dc29542d14ecd66d51b (diff) |
remove requirement to include setup, start, stop, et al. methods
Diffstat (limited to 'plugins/turtle_blocks_plugin.py')
-rw-r--r-- | plugins/turtle_blocks_plugin.py | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/plugins/turtle_blocks_plugin.py b/plugins/turtle_blocks_plugin.py index 41ff1ef..a534893 100644 --- a/plugins/turtle_blocks_plugin.py +++ b/plugins/turtle_blocks_plugin.py @@ -97,21 +97,6 @@ class Turtle_blocks_plugin(Plugin): help_string=_('Palette of presentation templates')) self._portfolio_palette() - def start(self): - pass - - def stop(self): - pass - - def goto_background(self): - pass - - def return_to_foreground(self): - pass - - def quit(self): - pass - # Palette definitions def _flow_palette(self): @@ -396,7 +381,7 @@ single-variable math equations, e.g., sin(x)')) help_string=_('a programmable block: used to add advanced \ multi-variable math equations, e.g., sqrt(x*x+y*y)')) self.tw.lc.def_prim('myfunction2', 3, - lambda self, f, x: PLUGIN_DICTIONARY['myfunction'](f, [x, y])) + lambda self, f, x, y: PLUGIN_DICTIONARY['myfunction'](f, [x, y])) make_prim('myfunc3arg', style='number-style-var-arg', |