summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2011-08-07 15:12:19 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2011-08-07 15:12:19 (GMT)
commit2a389e4601a462a028fb34991704a1f92d51d0ee (patch)
tree4deaefaf93763f81778690c2c3168f78d0162222
parentebd4805df0483dbedf40f5a79333d2791adb4d28 (diff)
downloadcpython-2a389e4601a462a028fb34991704a1f92d51d0ee.zip
cpython-2a389e4601a462a028fb34991704a1f92d51d0ee.tar.gz
cpython-2a389e4601a462a028fb34991704a1f92d51d0ee.tar.bz2
#12677: correct turtle orientation in doc
-rw-r--r--Doc/library/turtle.rst4
-rw-r--r--Lib/turtle.py4
-rw-r--r--Lib/turtledemo/about_turtle.txt4
3 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst
index e995a7c..c34e043 100644
--- a/Doc/library/turtle.rst
+++ b/Doc/library/turtle.rst
@@ -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.
.. sidebar:: Turtle star
diff --git a/Lib/turtle.py b/Lib/turtle.py
index 2ff5427..8fb366a 100644
--- a/Lib/turtle.py
+++ b/Lib/turtle.py
@@ -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.
diff --git a/Lib/turtledemo/about_turtle.txt b/Lib/turtledemo/about_turtle.txt
index e4ba217..d02c7b3 100644
--- a/Lib/turtledemo/about_turtle.txt
+++ b/Lib/turtledemo/about_turtle.txt
@@ -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.