[issue7061] Improve 24.5. turtle doc

Alexander Belopolsky report at bugs.python.org
Fri Oct 29 20:29:30 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

As I suspected, the turtle.shapetransform() stems from sphinx' failure to reinitialize the turtle variable as testsetup dictates.  I can work around this by adding 

      >>> turtle = Turtle()

above

      >>> turtle.shape("square")
      >>> turtle.shapesize(4,2)
      >>> turtle.shearfactor(-0.5)
      >>> turtle.shapetransform()
      (4.0, -1.0, -0.0, 2.0)

but I don't think it is a good idea to pollute the documentation this way.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7061>
_______________________________________


More information about the Python-bugs-list mailing list