Skip to content
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

Fix typo in tutorial/controlflow.rst #125338

Merged
merged 1 commit into from
Oct 12, 2024
Merged

Conversation

rffontenelle
Copy link
Contributor

@rffontenelle rffontenelle commented Oct 11, 2024

The example (below and above the changed text) actually uses kwd_only_arg (without 's'). See https://docs.python.org/3/tutorial/controlflow.html#function-examples


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

@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news awaiting review labels Oct 11, 2024
Copy link
Member

@savannahostrowski savannahostrowski left a comment

Choose a reason for hiding this comment

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

Thanks for catching this!

@savannahostrowski savannahostrowski added 3.12 bugs and security fixes 3.13 bugs and security fixes needs backport to 3.12 bug and security fixes needs backport to 3.13 bugs and security fixes labels Oct 11, 2024
@savannahostrowski
Copy link
Member

Looks like this is also a typo in 3.12 and 3.13 so adding backport labels.

@savannahostrowski savannahostrowski removed 3.12 bugs and security fixes 3.13 bugs and security fixes labels Oct 11, 2024
@AA-Turner AA-Turner merged commit 5a074aa into python:main Oct 12, 2024
38 checks passed
@miss-islington-app
Copy link

Thanks @rffontenelle for the PR, and @AA-Turner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 12, 2024
…ythonGH-125338)

(cherry picked from commit 5a074aab845f82f4a150c27b905dae05c337d381)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
@bedevere-app
Copy link

bedevere-app bot commented Oct 12, 2024

GH-125341 is a backport of this pull request to the 3.13 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 12, 2024
…ythonGH-125338)

(cherry picked from commit 5a074aa)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Oct 12, 2024
@bedevere-app
Copy link

bedevere-app bot commented Oct 12, 2024

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

@bedevere-app bedevere-app bot removed the needs backport to 3.12 bug and security fixes label Oct 12, 2024
AA-Turner pushed a commit that referenced this pull request Oct 12, 2024
…orial (GH-125338) (#125341)

Doc: Fix a typo in "Function Examples" in the control-flow tutorial (GH-125338)
(cherry picked from commit 5a074aa)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
AA-Turner pushed a commit that referenced this pull request Oct 12, 2024
…orial (GH-125338) (#125342)

Doc: Fix a typo in "Function Examples" in the control-flow tutorial (GH-125338)
(cherry picked from commit 5a074aa)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
@rffontenelle rffontenelle deleted the patch-6 branch October 12, 2024 00:49
@AA-Turner
Copy link
Member

@rffontenelle
Copy link
Contributor Author

Simply amazing! Outstanding job on improving docsbuild-scripts! 👏

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 issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants