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@sugarlabs.org>2013-07-01 15:01:04 (GMT)
committer Walter Bender <walter@sugarlabs.org>2013-07-01 15:01:04 (GMT)
commitce8a63454d05b7c9478b7460687184128e6bc78c (patch)
treebcc97b5bd0dcffd137cf3f1d41734d13d5a80167 /TurtleArt/tabasics.py
parent1968420db0f62bdbbdc9a7e04c8fef9094dd2527 (diff)
more carelessness
Diffstat (limited to 'TurtleArt/tabasics.py')
-rw-r--r--TurtleArt/tabasics.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/TurtleArt/tabasics.py b/TurtleArt/tabasics.py
index ef0c449..04a74d1 100644
--- a/TurtleArt/tabasics.py
+++ b/TurtleArt/tabasics.py
@@ -350,7 +350,7 @@ turtle'))
'setcolor',
1,
lambda self, x: primitive_dictionary['set'](
- 'color', self.tw.turtles.get_active_turtle().set_color(x)))
+ 'color', self.tw.turtles.get_active_turtle().set_color, x))
palette.add_block('setshade',
style='basic-style-1arg',
@@ -364,7 +364,7 @@ turtle'))
'setshade',
1,
lambda self, x: primitive_dictionary['set'](
- 'shade', self.tw.turtles.get_active_turtle().set_shade(x)))
+ 'shade', self.tw.turtles.get_active_turtle().set_shade, x))
palette.add_block('setgray',
style='basic-style-1arg',
@@ -377,7 +377,7 @@ the turtle'))
'setgray',
1,
lambda self, x: primitive_dictionary['set'](
- 'gray', self.tw.turtles.get_active_turtle().set_gray(x)))
+ 'gray', self.tw.turtles.get_active_turtle().set_gray, x))
palette.add_block('color',
style='box-style',
@@ -486,7 +486,7 @@ in place of a number block)'),
self.tw.lc.def_prim(
'pensize',
0,
- lambda self: self.tw.turtles.get_active_turtle().get_pen_size)
+ lambda self: self.tw.turtles.get_active_turtle().get_pen_size())
define_logo_function('tapensize', 'to tapensize\noutput first round \
pensize\nend\n')