diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-07-08 19:55:05 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-07-08 19:55:05 (GMT) |
commit | 63597f129d73ddcfc2f3adc99d0d84d1da91082e (patch) | |
tree | 7fbd8603aa26d623552f202de555c725376bf7ff /Lib/lib-tk | |
parent | 9575fb241e554031362aec97c638453fae0d5561 (diff) | |
download | cpython-63597f129d73ddcfc2f3adc99d0d84d1da91082e.zip cpython-63597f129d73ddcfc2f3adc99d0d84d1da91082e.tar.gz cpython-63597f129d73ddcfc2f3adc99d0d84d1da91082e.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r-- | Lib/lib-tk/turtle.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-tk/turtle.py b/Lib/lib-tk/turtle.py index 90d1aa3..9fa447c 100644 --- a/Lib/lib-tk/turtle.py +++ b/Lib/lib-tk/turtle.py @@ -365,8 +365,8 @@ class RawPen: >>> 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 |