Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tabasics.py
diff options
context:
space:
mode:
authorMarion <marion.zepf@gmail.com>2013-08-09 13:40:21 (GMT)
committer Marion <marion.zepf@gmail.com>2013-08-09 13:40:21 (GMT)
commit80d5177118d4ea9cb2e1c6a85823998888f09e06 (patch)
treece0301fd61e6f3a70cee18e633eafd1c3559fb63 /TurtleArt/tabasics.py
parent2918d1cf33bcb8be74e85f8c76c48cedfa9e7543 (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 'TurtleArt/tabasics.py')
-rw-r--r--TurtleArt/tabasics.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/TurtleArt/tabasics.py b/TurtleArt/tabasics.py
index e7ba2ff..2d16c2d 100644
--- a/TurtleArt/tabasics.py
+++ b/TurtleArt/tabasics.py
@@ -819,7 +819,7 @@ number of seconds'))
logo_command='forever',
help_string=_('loops forever'))
self.tw.lc.def_prim('forever', 1,
- Primitive(self.tw.lc.loop,
+ Primitive(self.tw.lc.prim_loop,
constant_args={0: Primitive(Primitive.controller_forever,
call_me=False)}),
True)
@@ -834,7 +834,7 @@ number of seconds'))
special_name=_('repeat'),
help_string=_('loops specified number of times'))
self.tw.lc.def_prim('repeat', 2,
- Primitive(self.tw.lc.loop,
+ Primitive(self.tw.lc.prim_loop,
slot_wrappers={0: Primitive(Primitive.controller_repeat,
slot_wrappers={0: Primitive(self.tw.lc.int,
slot_wrappers={0: self.prim_cache["check_number"]