diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-06-25 02:21:36 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-06-25 02:21:36 (GMT) |
commit | 3fecd48bded335cf79851a23c66fd8e8195f9516 (patch) | |
tree | 813bfe85e60b4737b52d670116596b2f0253d914 /Demo/turtle/tdemo_peace.py | |
parent | 53296810f8db94bc138184b302413607f65f4262 (diff) | |
download | cpython-3fecd48bded335cf79851a23c66fd8e8195f9516.zip cpython-3fecd48bded335cf79851a23c66fd8e8195f9516.tar.gz cpython-3fecd48bded335cf79851a23c66fd8e8195f9516.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 'Demo/turtle/tdemo_peace.py')
-rwxr-xr-x | Demo/turtle/tdemo_peace.py | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/Demo/turtle/tdemo_peace.py b/Demo/turtle/tdemo_peace.py index 13044c9..8bfa920 100755 --- a/Demo/turtle/tdemo_peace.py +++ b/Demo/turtle/tdemo_peace.py @@ -3,14 +3,10 @@ tdemo_peace.py -A very simple drawing suitable as a beginner's -programming example. - -Uses only commands, which are also available in -old turtle.py. - -Intentionally no variables are used except for the -colorloop: +A simple drawing suitable as a beginner's +programming example. Aside from the +peacecolors assignment and the for loop, +it only uses turtle commands. """ from turtle import * @@ -21,7 +17,7 @@ def main(): "royalblue1", "dodgerblue4") reset() - s = Screen() + Screen() up() goto(-320,-195) width(70) @@ -58,7 +54,7 @@ def main(): up() goto(0,300) # vanish if hideturtle() is not available ;-) - return "Done!!" + return "Done!" if __name__ == "__main__": main() |