summaryrefslogtreecommitdiffstats
path: root/Doc/library/cmd.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-09-10 07:06:01 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-09-10 07:06:01 (GMT)
commit4165bfb6e9e508fce1c68a353bf24c793bb6b2a2 (patch)
treeaade3541b83cada6ad753206807d504103a67c26 /Doc/library/cmd.rst
parentaaa899138a251a39b24710820e23fbdf32b83dce (diff)
downloadcpython-4165bfb6e9e508fce1c68a353bf24c793bb6b2a2.zip
cpython-4165bfb6e9e508fce1c68a353bf24c793bb6b2a2.tar.gz
cpython-4165bfb6e9e508fce1c68a353bf24c793bb6b2a2.tar.bz2
#12940: fix cmd example. Patch by Tim Chase.
Diffstat (limited to 'Doc/library/cmd.rst')
-rw-r--r--Doc/library/cmd.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/cmd.rst b/Doc/library/cmd.rst
index 30f1726..fd7f453 100644
--- a/Doc/library/cmd.rst
+++ b/Doc/library/cmd.rst
@@ -247,7 +247,7 @@ immediate playback::
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))