Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/taturtle.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-04-09 13:08:36 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-04-09 13:08:36 (GMT)
commitdb528ec468767ce5ed9d4aac4a37a5f8f01ff60f (patch)
treee74bec92555217a7a0689210da9b5d4708b0174e /TurtleArt/taturtle.py
parentf00e3fe2182c0bab2b802a7a988a3e0a286c8db5 (diff)
pep8 cleanup
Diffstat (limited to 'TurtleArt/taturtle.py')
-rw-r--r--TurtleArt/taturtle.py6
1 files changed, 3 insertions, 3 deletions
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