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:56 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-06-25 02:21:56 (GMT)
commit5827da3f9f79e37bd15e8a1ff52d0744e611d81b (patch)
treeaa549c2b41dbaef8ed3012d8156f9257b0737554 /Lib/turtledemo/planet_and_moon.py
parentd04d511078777544cbe5fe929a2ffba95c1976f1 (diff)
parentc5a72e6971b2927aa5fbfa6d7e02f6018b989768 (diff)
downloadcpython-5827da3f9f79e37bd15e8a1ff52d0744e611d81b.zip
cpython-5827da3f9f79e37bd15e8a1ff52d0744e611d81b.tar.gz
cpython-5827da3f9f79e37bd15e8a1ff52d0744e611d81b.tar.bz2
Merge with 3.4
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()