From: Ezio Melotti Date: Sat, 10 Sep 2011 07:06:01 +0000 (+0300) Subject: #12940: fix cmd example. Patch by Tim Chase. X-Git-Tag: v3.2.3rc1~574 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4165bfb6e9e508fce1c68a353bf24c793bb6b2a2;p=thirdparty%2FPython%2Fcpython.git #12940: fix cmd example. Patch by Tim Chase. --- diff --git a/Doc/library/cmd.rst b/Doc/library/cmd.rst index 30f17262b649..fd7f4537c629 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))