diff options
author | Walter Bender <walter@sugarlabs.org> | 2013-05-22 21:48:47 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2013-05-22 21:48:47 (GMT) |
commit | 87b47c329bf60c336303f228e11ece571dbe91de (patch) | |
tree | 49ae3e0722afb420a8e237384c8f36ecf4fb6f04 /pysamples/uturn.py | |
parent | 51d0563b974f4daa7150410f66d1816c42780212 (diff) |
pep8 and pyflakes cleanup
Diffstat (limited to 'pysamples/uturn.py')
-rw-r--r-- | pysamples/uturn.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pysamples/uturn.py b/pysamples/uturn.py index 0b164a0..cdeb96d 100644 --- a/pysamples/uturn.py +++ b/pysamples/uturn.py @@ -27,9 +27,9 @@ def myblock(tw, arg): # Add its primitive to the LogoCode dictionary. tw.lc.def_prim('uturn', 0, - lambda self: primitive_dictionary['set']( - 'heading', tw.canvas.seth, tw.canvas.heading + 180)) + lambda self: primitive_dictionary['set'] + ('heading', tw.canvas.seth, tw.canvas.heading + 180)) # Regenerate the palette, which will now include the new block. tw.show_toolbar_palette(palette_name_to_index('turtle'), - regenerate=True) + regenerate=True) |