[Python-checkins] cpython (3.2): #12940: fix cmd example. Patch by Tim Chase.
ezio.melotti
python-checkins at python.org
Sat Sep 10 09:13:23 CEST 2011
http://hg.python.org/cpython/rev/1ab62d3b96d2
changeset: 72337:1ab62d3b96d2
branch: 3.2
parent: 72335:1c5463cad0ae
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Sat Sep 10 10:06:01 2011 +0300
summary:
#12940: fix cmd example. Patch by Tim Chase.
files:
Doc/library/cmd.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/cmd.rst b/Doc/library/cmd.rst
--- a/Doc/library/cmd.rst
+++ b/Doc/library/cmd.rst
@@ -247,7 +247,7 @@
right(*parse(arg))
def do_left(self, arg):
'Turn turtle left by given number of degrees: LEFT 90'
- right(*parse(arg))
+ left(*parse(arg))
def do_goto(self, arg):
'Move turtle to an absolute position with changing orientation. GOTO 100 200'
goto(*parse(arg))
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list