gh-158322: Tidy docstrings in turtle module - #158281
Merged
StanFromIreland merged 2 commits intoSep 28, 2026
Merged
Conversation
turtle moduleturtle module
|
Thanks @StanFromIreland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15. |
Member
Author
|
Thanks for the review! |
|
Sorry, @StanFromIreland, I could not cleanly backport this to |
|
GH-158324 is a backport of this pull request to the 3.15 branch. |
|
GH-158325 is a backport of this pull request to the 3.14 branch. |
|
GH-158326 is a backport of this pull request to the 3.13 branch. |
StanFromIreland
added a commit
that referenced
this pull request
Sep 28, 2026
StanFromIreland
added a commit
that referenced
this pull request
Sep 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the first round of what will probably be quite a few PRs, as I want to keep the diff in each one reasonably small.
With the introduction of
turtle-translations, I’d like to improve the existing docstrings so that they produce better translations. Along the way, this PR also includes a handful of ad hoc refactors that I noticed while working through the module.These could reasonably be classified as churn, however, the
turtlemodule is, frankly, quite messy in places. I think these changes improve readability and, as a result, maintainability, so I intend to tidy up similar issues.They should also have relatively little impact on useful Git history, since the majority of the affected lines date back to the original port in 97cf99f.
If there are no comments, I plan to merge this next Thursday.
turtlemodule #158322