mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
document turtle done() function; thanks to Csaba Szepesvari from docs@
This commit is contained in:
parent
7aff451728
commit
e348455f5f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user