Message119926
| Author |
belopolsky |
| Recipients |
belopolsky, docs@python, eric.araujo, georg.brandl, gregorlingl, terry.reedy |
| Date |
2010年10月29日.18:29:20 |
| SpamBayes Score |
0.0021479318 |
| Marked as misclassified |
No |
| Message-id |
<1288376970.68.0.96421020893.issue7061@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|