[docs] [issue7061] Improve 24.5. turtle doc

Alexander Belopolsky report at bugs.python.org
Fri Oct 29 20:29:31 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()


      >>> 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>

More information about the docs mailing list