mirror of https://github.com/python/cpython
#12940: fix cmd example. Patch by Tim Chase.
This commit is contained in:
parent
aaa899138a
commit
4165bfb6e9
|
@ -247,7 +247,7 @@ immediate playback::
|
||||||
right(*parse(arg))
|
right(*parse(arg))
|
||||||
def do_left(self, arg):
|
def do_left(self, arg):
|
||||||
'Turn turtle left by given number of degrees: LEFT 90'
|
'Turn turtle left by given number of degrees: LEFT 90'
|
||||||
right(*parse(arg))
|
left(*parse(arg))
|
||||||
def do_goto(self, arg):
|
def do_goto(self, arg):
|
||||||
'Move turtle to an absolute position with changing orientation. GOTO 100 200'
|
'Move turtle to an absolute position with changing orientation. GOTO 100 200'
|
||||||
goto(*parse(arg))
|
goto(*parse(arg))
|
||||||
|
|
Loading…
Reference in New Issue