Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tabasics.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-03-05 11:58:03 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-03-05 11:58:03 (GMT)
commit8f8f9bc244cc284faa74bf6b6cfd6999db9c0213 (patch)
tree83e94a51c5637789ef01640abede125b1cd2cc0b /TurtleArt/tabasics.py
parent85bd7c74b86b3dd676e4b4855a3c8e1b35847ce4 (diff)
rename taprimitive.py to more appropriate tapalette.py
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 8d0e387..685c063 100644
--- a/TurtleArt/tabasics.py
+++ b/TurtleArt/tabasics.py
@@ -45,7 +45,7 @@ add_block method in the Palette class.
# of arguments, 0 in this case, and the function to call, in this
# case, the canvas function to set the heading.
self.tw.lc.def_prim('uturn', 0,
- lambda self, x: self.tw.canvas.seth(self.tw.canvas.heading + 180))
+ lambda self: self.tw.canvas.seth(self.tw.canvas.heading + 180))
That's it. When you next run Turtle Art, you will have a 'uturn' block
on the 'mypalette' palette.
@@ -64,7 +64,7 @@ from random import uniform
from gettext import gettext as _
-from taprimitive import make_palette
+from tapalette import make_palette
from talogo import PLUGIN_DICTIONARY, logoerror
from taconstants import CONSTANTS, BLACK, WHITE
from tautils import convert, chr_to_ord, round_int, strtype