From e348455f5f3f177f7c3f656a0204d9a89b27e5c8 Mon Sep 17 00:00:00 2001 From: Sandro Tosi Date: Mon, 31 Oct 2011 10:12:43 +0100 Subject: [PATCH] document turtle done() function; thanks to Csaba Szepesvari from docs@ --- Doc/library/turtle.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst index c34e043169c..4373f78d703 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.