summaryrefslogtreecommitdiffstats
path: root/Lib/turtledemo/forest.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/forest.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/forest.py')
-rwxr-xr-xLib/turtledemo/forest.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/Lib/turtledemo/forest.py b/Lib/turtledemo/forest.py
index a837d84..7fe080e 100755
--- a/Lib/turtledemo/forest.py
+++ b/Lib/turtledemo/forest.py
@@ -3,12 +3,12 @@
tdemo_forest.py
-Displays a 'forest' of 3 'breadth-first-trees'
-similar to the one from example tree.
-For further remarks see xtx_tree.py
+Displays a 'forest' of 3 breadth-first-trees
+similar to the one in tree.
+For further remarks see tree.py
This example is a 'breadth-first'-rewrite of
-a Logo program written by Erich Neuwirth. See:
+a Logo program written by Erich Neuwirth. See
http://homepage.univie.ac.at/erich.neuwirth/
"""
from turtle import Turtle, colormode, tracer, mainloop
@@ -104,6 +104,5 @@ def main():
return "runtime: %.2f sec." % (b-a)
if __name__ == '__main__':
- msg = main()
- print(msg)
+ main()
mainloop()