mirror of
https://github.com/python/cpython.git
synced 2025-10-29 20:51:26 +00:00
Whitespace normalization.
This commit is contained in:
parent
9575fb241e
commit
63597f129d
1 changed files with 2 additions and 2 deletions
|
|
@ -365,8 +365,8 @@ def circle(self, radius, extent = None):
|
||||||
>>> turtle.circle(120, 180) # half a circle
|
>>> turtle.circle(120, 180) # half a circle
|
||||||
"""
|
"""
|
||||||
if extent is None:
|
if extent is None:
|
||||||
extent = self._fullcircle
|
extent = self._fullcircle
|
||||||
frac = abs(extent)/self._fullcircle
|
frac = abs(extent)/self._fullcircle
|
||||||
steps = 1+int(min(11+abs(radius)/6.0, 59.0)*frac)
|
steps = 1+int(min(11+abs(radius)/6.0, 59.0)*frac)
|
||||||
w = 1.0 * extent / steps
|
w = 1.0 * extent / steps
|
||||||
w2 = 0.5 * w
|
w2 = 0.5 * w
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue