[docs] Turtle graphics, what is the function done doing?
Csaba Szepesvari
szepesva at ualberta.ca
Tue Oct 18 16:54:14 CEST 2011
Hi,
Look at the example code at:
http://docs.python.org/py3k/library/turtle.html#turtle.towards
from turtle import *
color('red', 'yellow')
begin_fill()
while True:
forward(200)
left(170)
if abs(pos()) < 1:
break
end_fill()
done()
It calls the done() function at the end. However, this function is not
documented.
My experimentation shows that this is really coming from the turtle
module, so it should be documented here.. (or at least pls give some
pointer to its documentation).
Bests,
Csaba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20111018/4216b3cf/attachment-0001.html>
More information about the docs
mailing list