From db528ec468767ce5ed9d4aac4a37a5f8f01ff60f Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Mon, 09 Apr 2012 13:08:36 +0000 Subject: pep8 cleanup --- (limited to 'TurtleArt/taturtle.py') diff --git a/TurtleArt/taturtle.py b/TurtleArt/taturtle.py index c13c494..c70f379 100644 --- a/TurtleArt/taturtle.py +++ b/TurtleArt/taturtle.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -#Copyright (c) 2010,11 Walter Bender +#Copyright (c) 2010,12 Walter Bender #Permission is hereby granted, free of charge, to any person obtaining a copy #of this software and associated documentation files (the "Software"), to deal @@ -129,10 +129,10 @@ class Turtle: self._prep_shapes(key, turtles, turtle_colors) - # Choose a random angle from which to attach the turtle label + # Choose a random angle from which to attach the turtle label. if turtles.sprite_list is not None: self.spr = Sprite(turtles.sprite_list, 0, 0, self.shapes[0]) - angle = uniform(0, pi * 4 / 3.0) # 240 degrees + angle = uniform(0, pi * 4 / 3.0) # 240 degrees w = self.shapes[0].get_width() r = w * 0.67 # Restrict angle the the sides 30-150; 210-330 -- cgit v0.9.1