Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e348455

Browse files
committed
document turtle done() function; thanks to Csaba Szepesvari from docs@
1 parent 7aff451 commit e348455

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/library/turtle.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Using screen events
204204
| :func:`onkeypress`
205205
| :func:`onclick` | :func:`onscreenclick`
206206
| :func:`ontimer`
207-
| :func:`mainloop`
207+
| :func:`mainloop` | :func:`done`
208208
209209
Settings and special methods
210210
| :func:`mode`
@@ -1773,6 +1773,7 @@ Using screen events
17731773

17741774

17751775
.. function:: mainloop()
1776+
done()
17761777

17771778
Starts event loop - calling Tkinter's mainloop function.
17781779
Must be the last statement in a turtle graphics program.

0 commit comments

Comments
 (0)