[Python-checkins] r50491 - python/trunk/Lib/lib-tk/turtle.py
tim.peters
python-checkins at python.org
Sat Jul 8 21:55:05 CEST 2006
Author: tim.peters
Date: Sat Jul 8 21:55:05 2006
New Revision: 50491
Modified:
python/trunk/Lib/lib-tk/turtle.py
Log:
Whitespace normalization.
Modified: python/trunk/Lib/lib-tk/turtle.py
==============================================================================
--- python/trunk/Lib/lib-tk/turtle.py (original)
+++ python/trunk/Lib/lib-tk/turtle.py Sat Jul 8 21:55:05 2006
@@ -365,8 +365,8 @@
>>> turtle.circle(120, 180) # half a circle
"""
if extent is None:
- extent = self._fullcircle
- frac = abs(extent)/self._fullcircle
+ extent = self._fullcircle
+ frac = abs(extent)/self._fullcircle
steps = 1+int(min(11+abs(radius)/6.0, 59.0)*frac)
w = 1.0 * extent / steps
w2 = 0.5 * w
More information about the Python-checkins
mailing list