diff options
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 |