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:
Wulian 2024-10-24 04:29:32 +08:00 committed by GitHub
parent 6f26d496d3
commit 9c01db40aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 32 additions and 86 deletions

View file

@ -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 *