summaryrefslogtreecommitdiffstats
path: root/Lib/turtledemo/planet_and_moon.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/planet_and_moon.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/planet_and_moon.py')
-rwxr-xr-xLib/turtledemo/planet_and_moon.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/Lib/turtledemo/planet_and_moon.py b/Lib/turtledemo/planet_and_moon.py
index 14c4bbc..26abfdb 100755
--- a/Lib/turtledemo/planet_and_moon.py
+++ b/Lib/turtledemo/planet_and_moon.py
@@ -12,9 +12,9 @@ very light moon!
Planet has a circular orbit, moon a stable
orbit around the planet.
-You can hold the movement temporarily by pressing
-the left mouse button with mouse over the
-scrollbar of the canvas.
+You can hold the movement temporarily by
+pressing the left mouse button with the
+mouse over the scrollbar of the canvas.
"""
from turtle import Shape, Turtle, mainloop, Vec2D as Vec
@@ -108,6 +108,5 @@ def main():
return "Done!"
if __name__ == '__main__':
- msg = main()
- print(msg)
- #mainloop()
+ main()
+ mainloop()