[issue7061] Improve 24.5. turtle doc

Gregor Lingl report at bugs.python.org
Fri Nov 5 16:26:45 CET 2010

Gregor Lingl <gregorlingl at users.sourceforge.net> added the comment:

What do you mean with "similar approach"?

Keep in mind, that functions derived form turtle methods,
call methods for the class variable _pen of class Turtle.
A new Turtle-object is bound to _pen, if it is not already
present, whenever one of these functions is called, via _getpen()

So perhaps _getpen() can do for you what you need?

(A similar approach is used for screen-oriented functions with turtle._screen.)

I'm very sorry that, due to time restrictions, for the next two or three months I'm not able to participate in these discussions as intensely as I'd like to.

Best regards,


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list