bpo-42128: Add documentation for pattern matching (PEP 634) #24664
+826
−3
Conversation
The tutorial is a slightly modified version of PEP-636 Appendix A
This reverts commit 6320747.
Co-Authored-By: Daniel F Moisset <dfmoisset@gmail.com> Co-Authored-By: Guido van Rossum <2894642+gvanrossum@users.noreply.github.com> Co-Authored-By: Brandt Bucher <brandt@python.org>
…DOs left) one table idea was inspired by Raymond's awesome tweet here https://twitter.com/raymondh/status/1361780586570948609 Co-Authored-By: Raymond Hettinger <1623689+rhettinger@users.noreply.github.com>
Co-authored-by: Daniel F Moisset <dfmoisset@gmail.com>
Some minor typos, and copy/paste fixes
This is currently a Draft PR because I plan to make some minor adjustments, but it should be "complete" and reviewable at this point. The planned changes are likely to be some removals/rearranging of content in the "Doc/reference/compound_stmts.rst" file |
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.
This covers documentation for the new match statement in 3.10, as requested by the SC in https://mail.python.org/archives/list/python-committers@python.org/message/SQC2FTLFV5A7DV7RCEAR2I2IKJKGK7W3/
The documentation includes:
__match_args__
https://bugs.python.org/issue42128