Repository navigation
gh-157847: Re-write more of the turtle reference docs - #159685
Conversation
Documentation build overview
18 files changed ·
|
willingc
left a comment
There was a problem hiding this comment.
Nice cleanup @StanFromIreland. A few suggestions for readability for children and young adults. Fine to ship as is too.
| 9 | ||
| """ | ||
| speeds = {'fastest':0, 'fast':10, 'normal':6, 'slow':3, 'slowest':1 } | ||
| speed_strings = { |
There was a problem hiding this comment.
Is there a reason to name it speed_strings vs. speeds?
There was a problem hiding this comment.
I was going to tidy up the dictionary (since it was in a bit of a mess), and I decided to change to a more precise name while I was at it. As I mentioned on the other PRs, I'm not particularly worried about churn, most of these lines blame to the original import anyway.
There was a problem hiding this comment.
Can we do this... Add the word "descriptive" at the start of line 2219 so it reads "descriptive speed string" or alternatively "speed description string". speed_strings is a bit confusing for learners since it encodes type in the name of the dict.
If we describe a bit more precisely at line 2219, the example name makes more sense.
There was a problem hiding this comment.
Hmm, I think you may have been looking at an older commit? I adjusted it to:
You can also use these names instead of numbers:
Based on Maciej's suggestion.
| """Pull the pen up. | ||
|
|
||
| Aliases: penup | pu | up | ||
|
|
||
| The turtle does not draw when it moves. |
There was a problem hiding this comment.
| """Pull the pen up. | |
| Aliases: penup | pu | up | |
| The turtle does not draw when it moves. | |
| """Lift the pen. The turtle does not draw when it moves. | |
| Aliases: penup | pu | up |
There was a problem hiding this comment.
Applied the re-wording, but I kept the other sentence after the aliases.
There was a problem hiding this comment.
I think they shouldn't be splitted. The effect should be an inherent part of the explanation.
Co-authored-by: Maciej Olko <[email protected]> Co-Authored-By: Carol Willing <[email protected]>
|
Thanks @StanFromIreland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15. |
|
GH-159948 is a backport of this pull request to the 3.15 branch. |
|
GH-159949 is a backport of this pull request to the 3.14 branch. |
…9685) (#159949) gh-157847: Re-write more of the `turtle` reference docs (GH-159685) (cherry picked from commit f071bac) Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: Maciej Olko <[email protected]> Co-authored-by: Carol Willing <[email protected]>
…9685) (#159948) gh-157847: Re-write more of the `turtle` reference docs (GH-159685) (cherry picked from commit f071bac) Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: Maciej Olko <[email protected]> Co-authored-by: Carol Willing <[email protected]>
|
No worries @StanFromIreland. It was a nit more than critical since I had already approved 😄 |
No description provided.