summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2011-10-31 09:12:43 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2011-10-31 09:12:43 (GMT)
commite348455f5f3f177f7c3f656a0204d9a89b27e5c8 (patch)
tree44ba2c2bd1216b8e7e411961c6b6e4de819d777f /Doc
parent7aff4517289e2a748b238f282a777e577c9e3d3f (diff)
downloadcpython-e348455f5f3f177f7c3f656a0204d9a89b27e5c8.zip
cpython-e348455f5f3f177f7c3f656a0204d9a89b27e5c8.tar.gz
cpython-e348455f5f3f177f7c3f656a0204d9a89b27e5c8.tar.bz2
document turtle done() function; thanks to Csaba Szepesvari from docs@
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/turtle.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst
index c34e043..4373f78 100644
--- a/Doc/library/turtle.rst
+++ b/Doc/library/turtle.rst
@@ -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.