Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libturtle.tex @ 27999:8f70602fbebb legacy-trunk
SF bug #685775: turtle circle() documentation error
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Fri, 21 Feb 2003 03:14:08 +0000 |
| parents | a85a3c10ba4d |
| children | 052e4c572261 |
line wrap: on
line diff
--- a/Doc/lib/libturtle.tex Fri Feb 21 02:47:09 2003 +0000 +++ b/Doc/lib/libturtle.tex Fri Feb 21 03:14:08 2003 +0000 @@ -95,15 +95,16 @@ \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}
