-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-106996: Add a how-to section to the turtle documentation #107153
Merged
Merged
Conversation
This file contains 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
This patch helps clarify the purpose, value and scope of the turtle graphics module, by rewriting the introduction according to the pattern: * a single sentence that says **what the product (or thing) is**, as succinctly as possible * a brief description of **what it does** * a statement of its purpose or **the problem it solves** * a note about **whom it is useful for**
Co-authored-by: Hugo van Kemenade <[email protected]>
The tutorial follows the practices outlined in https://diataxis.fr/tutorials/. It uses the functional turtle interface, and doesn't mention the object-oriented interface (which would be a good next step). Existing sections are now clearly labelled "Explanation" and "Reference" to clarify their scope.
This covers the basics of four different use-cases: * using commands directly in the shell (covered in more detail in the tutorial) * using the turtle module namespace * using turtle graphics in a script * using the object-oriented interface
hugovk
added
needs backport to 3.11
only security fixes
needs backport to 3.12
bug and security fixes
labels
Jul 25, 2023
hugovk
approved these changes
Jul 25, 2023
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Jul 25, 2023
…thonGH-107153) (cherry picked from commit 2425346) Co-authored-by: Daniele Procida <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
GH-107234 is a backport of this pull request to the 3.11 branch. |
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Jul 25, 2023
…thonGH-107153) (cherry picked from commit 2425346) Co-authored-by: Daniele Procida <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
hugovk
added
needs backport to 3.12
bug and security fixes
and removed
needs backport to 3.12
bug and security fixes
labels
Jul 25, 2023
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Jul 25, 2023
…thonGH-107153) (cherry picked from commit 2425346) Co-authored-by: Daniele Procida <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
hugovk
added a commit
that referenced
this pull request
Jul 25, 2023
…H-107153) (#107234) Co-authored-by: Daniele Procida <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
hugovk
added a commit
that referenced
this pull request
Jul 25, 2023
…H-107153) (#107233) Co-authored-by: Daniele Procida <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
jtcave
pushed a commit
to jtcave/cpython
that referenced
this pull request
Jul 27, 2023
…thon#107153) Co-authored-by: Hugo van Kemenade <[email protected]>
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 covers the basics of four different use-cases:
📚 Documentation preview 📚: https://cpython-previews--107153.org.readthedocs.build/