Message148203
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. |
|
Date |
User |
Action |
Args |
2011-11-23 19:58:43 | petri.lehtinen | set | recipients:
+ petri.lehtinen, smichr, gregorlingl, docs@python |
2011-11-23 19:58:43 | petri.lehtinen | set | messageid: <1322078323.86.0.610707410155.issue13439@psf.upfronthosting.co.za> |
2011-11-23 19:58:43 | petri.lehtinen | link | issue13439 messages |
2011-11-23 19:58:43 | petri.lehtinen | create | |
|