summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-02-21 03:14:08 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-02-21 03:14:08 (GMT)
commita97e4f3a497094375b37bd2abb1e7e80b810fd53 (patch)
treef870a35cc65be46ac73e05ee113ac8b93f3a0340
parent3004b090ad4ee6d4a47a4a0b0c292723054538ad (diff)
downloadcpython-a97e4f3a497094375b37bd2abb1e7e80b810fd53.zip
cpython-a97e4f3a497094375b37bd2abb1e7e80b810fd53.tar.gz
cpython-a97e4f3a497094375b37bd2abb1e7e80b810fd53.tar.bz2
SF bug #685775: turtle circle() documentation error
-rw-r--r--Doc/lib/libturtle.tex9
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/lib/libturtle.tex b/Doc/lib/libturtle.tex
index c63c876..e6a05eb 100644
--- a/Doc/lib/libturtle.tex
+++ b/Doc/lib/libturtle.tex
@@ -95,15 +95,16 @@ and call \code{fill(0)} when you finish to draw the path.
\end{funcdesc}
\begin{funcdesc}{circle}{radius\optional{, extent}}
-Draw a circle with radius \var{radius} whose center-point is where the
-pen would be if a \code{forward(\var{radius})} were
-called. \var{extent} determines which part of a circle is drawn: if
+Draw a circle with radius \var{radius} whose center-point is
+\var{radius} units left of the turtle.
+\var{extent} determines which part of a circle is drawn: if
not given it defaults to a full circle.
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
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}
\begin{funcdesc}{goto}{x, y}