This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author petri.lehtinen
Recipients docs@python, gregorlingl, petri.lehtinen, smichr
Date 2011-11-23.19:58:43
SpamBayes Score 0.0012642137
Marked as misclassified No
Message-id <1322078323.86.0.610707410155.issue13439@psf.upfronthosting.co.za>
In-reply-to
Content
There are actually many problems with docstrings of both onkey() and onkeypress().

Both:

- "Turtle instance named turtle" isn't used in the example

- The repl/doctest syntax is weird

onkeypress only:

- "key-press event" vs. "key-press-event"

- The example uses onkey() instead of onkeypress()

- The bottom comment says that the example draws a hexagon, but it actually draws a straight line.
History
Date User Action Args
2011-11-23 19:58:43petri.lehtinensetrecipients: + petri.lehtinen, smichr, gregorlingl, docs@python
2011-11-23 19:58:43petri.lehtinensetmessageid: <1322078323.86.0.610707410155.issue13439@psf.upfronthosting.co.za>
2011-11-23 19:58:43petri.lehtinenlinkissue13439 messages
2011-11-23 19:58:43petri.lehtinencreate