]> granicus.if.org Git - python/commitdiff
document turtle done() function; thanks to Csaba Szepesvari from docs@
authorSandro Tosi <sandro.tosi@gmail.com>
Mon, 31 Oct 2011 09:12:43 +0000 (10:12 +0100)
committerSandro Tosi <sandro.tosi@gmail.com>
Mon, 31 Oct 2011 09:12:43 +0000 (10:12 +0100)
Doc/library/turtle.rst

index c34e043169c1f472f3de6b5a93e6d866bccb9025..4373f78d703b74cbcae423fea6184636d01dbac3 100644 (file)
@@ -204,7 +204,7 @@ Using screen events
    | :func:`onkeypress`
    | :func:`onclick` | :func:`onscreenclick`
    | :func:`ontimer`
-   | :func:`mainloop`
+   | :func:`mainloop` | :func:`done`
 
 Settings and special methods
    | :func:`mode`
@@ -1773,6 +1773,7 @@ Using screen events
 
 
 .. function:: mainloop()
+              done()
 
    Starts event loop - calling Tkinter's mainloop function.
    Must be the last statement in a turtle graphics program.