summaryrefslogtreecommitdiffstats
path: root/Lib/turtledemo/paint.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-06-25 02:21:41 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-06-25 02:21:41 (GMT)
commitc5a72e6971b2927aa5fbfa6d7e02f6018b989768 (patch)
tree08fa163da474ab4f506c697e951cfe47a49771d9 /Lib/turtledemo/paint.py
parent6f6922c0906e2986e221cb48c338f67ee72f1aee (diff)
downloadcpython-c5a72e6971b2927aa5fbfa6d7e02f6018b989768.zip
cpython-c5a72e6971b2927aa5fbfa6d7e02f6018b989768.tar.gz
cpython-c5a72e6971b2927aa5fbfa6d7e02f6018b989768.tar.bz2
Issue #14117: Inprove help text and docstrings, some for clarity, some just to
fit in the default width of the text window (45 chars).
Diffstat (limited to 'Lib/turtledemo/paint.py')
-rwxr-xr-xLib/turtledemo/paint.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/Lib/turtledemo/paint.py b/Lib/turtledemo/paint.py
index 68058ab..dde1691 100755
--- a/Lib/turtledemo/paint.py
+++ b/Lib/turtledemo/paint.py
@@ -3,11 +3,15 @@
tdemo_paint.py
-A simple eventdriven paint program
+A simple event-driven paint program
-- use left mouse button to move turtle
-- middle mouse button to change color
-- right mouse button do turn filling on/off
+- left mouse button moves turtle
+- middle mouse button changes color
+- right mouse button toogles betweem 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
+includes the starting point is filled.
-------------------------------------------
Play around by clicking into the canvas
using all three mouse buttons.