]> granicus.if.org Git - python/commitdiff
#12940: fix cmd example. Patch by Tim Chase.
authorEzio Melotti <ezio.melotti@gmail.com>
Sat, 10 Sep 2011 07:06:01 +0000 (10:06 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Sat, 10 Sep 2011 07:06:01 +0000 (10:06 +0300)
Doc/library/cmd.rst

index 30f17262b649a212f46c8633bb4e6a0debfadb5e..fd7f4537c62966b4531ece52617e456e9ae613a3 100644 (file)
@@ -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))