mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
Issue #14117: Inprove help text and docstrings, some for clarity, some just to
fit in the default width of the text window (45 chars).
This commit is contained in:
parent
6f6922c090
commit
c5a72e6971
7 changed files with 60 additions and 48 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue