diff options
author | Marion <marion.zepf@gmail.com> | 2013-08-09 13:40:21 (GMT) |
---|---|---|
committer | Marion <marion.zepf@gmail.com> | 2013-08-09 13:40:21 (GMT) |
commit | 80d5177118d4ea9cb2e1c6a85823998888f09e06 (patch) | |
tree | ce0301fd61e6f3a70cee18e633eafd1c3559fb63 /plugins | |
parent | 2918d1cf33bcb8be74e85f8c76c48cedfa9e7543 (diff) |
rename the LogoCode's loop function to prim_loop
- The new name is more consistent with prim_if, prim_ifelse etc.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/turtle_blocks_extras/turtle_blocks_extras.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/turtle_blocks_extras/turtle_blocks_extras.py b/plugins/turtle_blocks_extras/turtle_blocks_extras.py index f625b14..b618d9e 100644 --- a/plugins/turtle_blocks_extras/turtle_blocks_extras.py +++ b/plugins/turtle_blocks_extras/turtle_blocks_extras.py @@ -102,7 +102,7 @@ class Turtle_blocks_extras(Plugin): boolean operators from Numbers palette')) # Primitive is only used for exporting this block, not for running it self.tw.lc.def_prim('while', 2, - Primitive(self.tw.lc.loop, + Primitive(self.tw.lc.prim_loop, slot_wrappers={0: Primitive(Primitive.controller_while)}), True) @@ -117,7 +117,7 @@ boolean operators from Numbers palette')) boolean operators from Numbers palette')) # Primitive is only used for exporting this block, not for running it self.tw.lc.def_prim('until', 2, - Primitive(self.tw.lc.loop, + Primitive(self.tw.lc.prim_loop, slot_wrappers={0: Primitive(Primitive.controller_until)}), True) |