mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
document turtle done() function; thanks to Csaba Szepesvari from docs@
This commit is contained in:
parent
7aff451728
commit
e348455f5f
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue