diff options
author | Wulian <1055917385@qq.com> | 2024-10-23 20:29:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-23 20:29:32 (GMT) |
commit | 9c01db40aa5edbd75ce50342c08f7ed018ee7864 (patch) | |
tree | a9f80756c230c1ecbe08bbed8aef5885146e1293 /Lib/turtledemo/paint.py | |
parent | 6f26d496d3c894970ee18a125e9100791ebc2b36 (diff) | |
download | cpython-9c01db40aa5edbd75ce50342c08f7ed018ee7864.zip cpython-9c01db40aa5edbd75ce50342c08f7ed018ee7864.tar.gz cpython-9c01db40aa5edbd75ce50342c08f7ed018ee7864.tar.bz2 |
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>
Diffstat (limited to 'Lib/turtledemo/paint.py')
-rw-r--r-- | Lib/turtledemo/paint.py | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/Lib/turtledemo/paint.py b/Lib/turtledemo/paint.py index 6e63d00..780300f 100644 --- a/Lib/turtledemo/paint.py +++ b/Lib/turtledemo/paint.py @@ -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 @@ -15,8 +12,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 * |