[Python-bugs-list] [ python-Bugs-685775 ] turtle circle() documentation error

SourceForge.net noreply@sourceforge.net
Thu, 20 Feb 2003 19:23:21 -0800


Bugs item #685775, was opened at 2003-02-13 02:10
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=685775&group_id=5470

Category: Documentation
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Christopher Smith (smichr)
Assigned to: Raymond Hettinger (rhettinger)
Summary: turtle circle() documentation error

Initial Comment:
The following refer to doc page 
http://www.python.org/doc/current/lib/module-turtle.html

1) The "circle()" function of the turtle module does not behave as 
indicated in the documentation.  The doc's say that this command 
should...

"Draw a circle with radius radius whose center-point is where the 
pen would be if a forward(radius) were called."

In fact, it draws a circle centered on the point that is radius units to 
the left of the turtle.

2) Further information is given in the second paragraph that starts:

"If extent is not a full circle, one endpoint of the arc is the current 
pen position."

It might be good to add "...and the angle of the turtle is changed by 
extent."  i.e., if it started at 0 degrees and you drew 90 degrees of 
a circle, the turtle is now facing at 90 degrees.

/c


----------------------------------------------------------------------

>Comment By: Raymond Hettinger (rhettinger)
Date: 2003-02-20 22:23

Message:
Logged In: YES 
user_id=80475

Fixed.
Doc/lib/libturtle.tex 1.5

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=685775&group_id=5470