]> granicus.if.org Git - python/commitdiff
#12677: correct turtle orientation in doc
authorSandro Tosi <sandro.tosi@gmail.com>
Sun, 7 Aug 2011 15:09:15 +0000 (17:09 +0200)
committerSandro Tosi <sandro.tosi@gmail.com>
Sun, 7 Aug 2011 15:09:15 +0000 (17:09 +0200)
Demo/turtle/about_turtle.txt
Doc/library/turtle.rst
Lib/lib-tk/turtle.py

index a42800b0cb6dcf831ea821792462383df7873435..4d290beda4f05f06926c3a4fcb7c8b7494eeef59 100644 (file)
@@ -7,10 +7,10 @@ Turtle graphics is a popular way for introducing programming to
 kids. It was part of the original Logo programming language developed
 by Wally Feurzig and Seymour Papert in 1966.
 
-Imagine a robotic turtle starting at (0, 0) in the x-y plane. Give it
+Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an ``import turtle``, give it
 the command turtle.forward(15), and it moves (on-screen!) 15 pixels in
 the direction it is facing, drawing a line as it moves. Give it the
-command turtle.left(25), and it rotates in-place 25 degrees clockwise.
+command turtle.right(25), and it rotates in-place 25 degrees clockwise.
 
 By combining together these and similar commands, intricate shapes and
 pictures can easily be drawn.
index 129ec0e0685c978b87bdd2448fea9b3f9a728cfa..98c07ca96fa1ce18c0c4aa83dfbfcf663cce69f6 100644 (file)
@@ -18,10 +18,10 @@ Turtle graphics is a popular way for introducing programming to kids.  It was
 part of the original Logo programming language developed by Wally Feurzig and
 Seymour Papert in 1966.
 
-Imagine a robotic turtle starting at (0, 0) in the x-y plane.  Give it the
+Imagine a robotic turtle starting at (0, 0) in the x-y plane.  After an ``import turtle``, give it the
 command ``turtle.forward(15)``, and it moves (on-screen!) 15 pixels in the
 direction it is facing, drawing a line as it moves.  Give it the command
-``turtle.left(25)``, and it rotates in-place 25 degrees clockwise.
+``turtle.right(25)``, and it rotates in-place 25 degrees clockwise.
 
 By combining together these and similar commands, intricate shapes and pictures
 can easily be drawn.
index a003433273272925f29cef9e3e147c085d2b0784..4230d6871b809e5dd8b25c260c5d313edfaf685b 100644 (file)
@@ -27,10 +27,10 @@ Turtle graphics is a popular way for introducing programming to
 kids. It was part of the original Logo programming language developed
 by Wally Feurzig and Seymour Papert in 1966.
 
-Imagine a robotic turtle starting at (0, 0) in the x-y plane. Give it
+Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an ``import turtle``, give it
 the command turtle.forward(15), and it moves (on-screen!) 15 pixels in
 the direction it is facing, drawing a line as it moves. Give it the
-command turtle.left(25), and it rotates in-place 25 degrees clockwise.
+command turtle.right(25), and it rotates in-place 25 degrees clockwise.
 
 By combining together these and similar commands, intricate shapes and
 pictures can easily be drawn.