This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Harry-Lees
Recipients Harry-Lees, docs@python, ray_giraffe
Date 2021-08-04.14:24:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1628087051.73.0.325247156457.issue44760@roundup.psfhosted.org>
In-reply-to
Content
The conflict comes from the fact that the documentation is written from the perspective of the procedure-oriented interface

"All methods of TurtleScreen/Screen also exist as functions, i.e. as part of the procedure-oriented interface"

The conflict in the documentation comes from the fact that there is a conflict in the code as-well. The way the conflict is resolved in the code is that:

"This TurtleScreen method is available as a global function only under the name clearscreen. The global function clear is a different one derived from the Turtle method clear."

I propose that we noindex the TurtleScreen.clear() method, and index the Turtle.clear() method instead which more accurately reflects the behaviour of the turtle module itself. A link to the TurtleScreen.clear() method will still be available through its alias TurtleScreen.clearscreen().
History
Date User Action Args
2021-08-04 14:24:11Harry-Leessetrecipients: + Harry-Lees, docs@python, ray_giraffe
2021-08-04 14:24:11Harry-Leessetmessageid: <1628087051.73.0.325247156457.issue44760@roundup.psfhosted.org>
2021-08-04 14:24:11Harry-Leeslinkissue44760 messages
2021-08-04 14:24:11Harry-Leescreate