Kaydet (Commit) a97e4f3a authored tarafından Raymond Hettinger's avatar Raymond Hettinger

SF bug #685775: turtle circle() documentation error

üst 3004b090
...@@ -95,15 +95,16 @@ and call \code{fill(0)} when you finish to draw the path. ...@@ -95,15 +95,16 @@ and call \code{fill(0)} when you finish to draw the path.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{circle}{radius\optional{, extent}} \begin{funcdesc}{circle}{radius\optional{, extent}}
Draw a circle with radius \var{radius} whose center-point is where the Draw a circle with radius \var{radius} whose center-point is
pen would be if a \code{forward(\var{radius})} were \var{radius} units left of the turtle.
called. \var{extent} determines which part of a circle is drawn: if \var{extent} determines which part of a circle is drawn: if
not given it defaults to a full circle. not given it defaults to a full circle.
If \var{extent} is not a full circle, one endpoint of the arc is the If \var{extent} is not a full circle, one endpoint of the arc is the
current pen position. The arc is drawn in a counter clockwise current pen position. The arc is drawn in a counter clockwise
direction if \var{radius} is positive, otherwise in a clockwise direction if \var{radius} is positive, otherwise in a clockwise
direction. direction. In the process, the direction of the turtle is changed
by the amount of the \var{extent}.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{goto}{x, y} \begin{funcdesc}{goto}{x, y}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment