Issue 12940: Cmd example using turtle left vs. right doc-bug (original) (raw)

Created on 2011-09-09 00:04 by Gumnos, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue12940.diff Gumnos,2011-09-09 23:48 Patch to fix review
Messages (7)
msg143746 - (view) Author: Tim Chase (Gumnos) * Date: 2011-09-09 00:04
The Turtle example for the cmd module as documented at http://docs.python.org/py3k/library/cmd.html#cmd-example In the left() method, it calls turtle.right() instead of turtle.left(). Easy fix: /def left/+2s/left/right/ Likely exists in most 3.x documentation.
msg143747 - (view) Author: Tim Chase (Gumnos) * Date: 2011-09-09 00:05
(duh, sorry, that's the "do_left" method, not the "left" method)
msg143794 - (view) Author: Tim Chase (Gumnos) * Date: 2011-09-09 19:29
I see the status changed to needs-patch. what do I patch against?
msg143797 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2011-09-09 19:48
3.2. Any patch should trivially port to 3.3 and 2.7
msg143817 - (view) Author: Tim Chase (Gumnos) * Date: 2011-09-09 23:48
Patch attached.
msg143832 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-09-10 07:13
New changeset 1ab62d3b96d2 by Ezio Melotti in branch '3.2': #12940: fix cmd example. Patch by Tim Chase. http://hg.python.org/cpython/rev/1ab62d3b96d2 New changeset b239b7d9f752 by Ezio Melotti in branch 'default': #12940: merge with 3.2. http://hg.python.org/cpython/rev/b239b7d9f752
msg143833 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2011-09-10 07:15
Fixed, thanks for the report and the patch! 2.7 doesn't have the example, so there's nothing to fix there.
History
Date User Action Args
2022-04-11 14:57:21 admin set github: 57149
2011-09-10 07:15:37 ezio.melotti set status: open -> closedversions: + Python 3.2messages: + assignee: docs@python -> ezio.melottiresolution: fixedstage: needs patch -> resolved
2011-09-10 07:13:30 python-dev set nosy: + python-devmessages: +
2011-09-09 23:48:56 Gumnos set files: + issue12940.diffkeywords: + patchmessages: + versions: - Python 2.7, Python 3.2
2011-09-09 19:48:24 terry.reedy set nosy: + terry.reedymessages: + versions: + Python 2.7, Python 3.2
2011-09-09 19:29:05 Gumnos set messages: +
2011-09-09 00:42:04 ezio.melotti set nosy: + ezio.melotti, sandro.tosistage: needs patch
2011-09-09 00:05:44 Gumnos set messages: +
2011-09-09 00:04:52 Gumnos create