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

docs tutorial - specify match cases don't fall through #93615

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pr2502
Copy link

@pr2502 pr2502 commented Jun 8, 2022

Hello, this is my first contribution here, sorry if I missed something in the contribution guidelines.

I was reading the docs about the for me new match control flow and had to dig into the linked PEP to make sure the cases don't fall through like I'd expect because the tutorial compared it to a switch statement but the only difference it pointed out was the pattern matching which confused me. I hope this would make it clearer.

@cpython-cla-bot
Copy link

@cpython-cla-bot cpython-cla-bot bot commented Jun 8, 2022

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Jun 8, 2022

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

@bedevere-bot bedevere-bot added docs awaiting review labels Jun 8, 2022
@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Jun 8, 2022

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants