mirror of
https://github.com/python/cpython.git
synced 2025-10-14 18:59:46 +00:00
gh-125665: Update turtledemo docstrings with correct file names (#125691)
Co-authored-by: Wulian <xiguawulian@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
6f26d496d3
commit
9c01db40aa
20 changed files with 32 additions and 86 deletions
|
@ -1,12 +1,9 @@
|
|||
""" turtle-example-suite:
|
||||
"""turtledemo/paint.py
|
||||
|
||||
tdemo_paint.py
|
||||
|
||||
A simple event-driven paint program
|
||||
|
||||
- left mouse button moves turtle
|
||||
- middle mouse button changes color
|
||||
- right mouse button toggles between pen up
|
||||
A simple event-driven paint program.
|
||||
- Left mouse button moves turtle.
|
||||
- Middle mouse button changes color.
|
||||
- Right mouse button toggles between pen up
|
||||
(no line drawn when the turtle moves) and
|
||||
pen down (line is drawn). If pen up follows
|
||||
at least two pen-down moves, the polygon that
|
||||
|
@ -14,8 +11,6 @@ includes the starting point is filled.
|
|||
-------------------------------------------
|
||||
Play around by clicking into the canvas
|
||||
using all three mouse buttons.
|
||||
-------------------------------------------
|
||||
To exit press STOP button
|
||||
-------------------------------------------
|
||||
"""
|
||||
from turtle import *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue