From ce8a63454d05b7c9478b7460687184128e6bc78c Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Mon, 01 Jul 2013 15:01:04 +0000 Subject: more carelessness --- 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') -- cgit v0.9.1