Skip to content

gh-106996: Rewrite turtle explanation #107244

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

Merged
merged 15 commits into from
Jul 27, 2023
Merged

gh-106996: Rewrite turtle explanation #107244

merged 15 commits into from
Jul 27, 2023

Conversation

evildmp
Copy link
Contributor

@evildmp evildmp commented Jul 25, 2023

Simplified the language and presentation of the concepts being
discussed, to make clearer the relations between them and the
useful entry-points for a typical user.

Moved the section to below the reference material, to follow
the tutorial > how-to > reference > explanation pattern.


📚 Documentation preview 📚: https://cpython-previews--107244.org.readthedocs.build/

evildmp and others added 11 commits July 22, 2023 11:10
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 <hugovk@users.noreply.github.com>
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
Simplified the language and presentation of the concepts being
discussed, to make clearer the relations between them and the
useful entry-points for a typical user.

Moved the section to below the reference material, to follow
the tutorial > how-to > reference > explanation pattern.
@hugovk hugovk added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Jul 27, 2023
Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of typos, otherwise looks good!

evildmp and others added 2 commits July 27, 2023 09:23
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
@hugovk hugovk merged commit ccd4253 into python:main Jul 27, 2023
@miss-islington
Copy link
Contributor

Thanks @evildmp for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@hugovk
Copy link
Member

hugovk commented Jul 27, 2023

Thanks!

@bedevere-bot
Copy link

GH-107335 is a backport of this pull request to the 3.12 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.12 only security fixes label Jul 27, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 27, 2023
(cherry picked from commit ccd4253)

Co-authored-by: Daniele Procida <daniele@vurt.org>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
@bedevere-bot
Copy link

GH-107336 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Jul 27, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 27, 2023
(cherry picked from commit ccd4253)

Co-authored-by: Daniele Procida <daniele@vurt.org>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
hugovk added a commit that referenced this pull request Jul 27, 2023
Co-authored-by: Daniele Procida <daniele@vurt.org>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
hugovk added a commit that referenced this pull request Jul 27, 2023
Co-authored-by: Daniele Procida <daniele@vurt.org>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants