Commit Graph

24 Commits

Author SHA1 Message Date
John Saponara 2eaa17b707
PEP 636: clarify __match_args__ naming (#2136)
* clarify __match_args__ naming

The current example allows the reader to wonder whether the __match_args__ names must match the __init__ args or the class members.  This change explicitly shows that class member names are searched for the __match_args__ items (admittedly at the cost of some clutter).

* Update pep-0636.rst

Thx Guido, that reduces the clutter.

Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>

* oops, thx again!

Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
2021-11-07 20:12:11 -08:00
Scott Noyes 7a9fa54f8f
minor grammar fixes (#2122) 2021-10-21 13:09:30 -07:00
Raúl Cumplido 93773a47ea
PEP 636: Fix typo: being --> been (#2101) 2021-10-05 21:50:39 +11:00
Ken Jin 214e8321d0
PEP 636: Convert __match_args__ to tuple (#1914) 2021-04-06 08:37:47 -07:00
Guilhem Saurel be1c166f4b
PEP 636: add missing @dataclass (#1879) 2021-03-23 11:26:03 -07:00
Jelle Zijlstra bd6beb5316
PEP 636: fix typo (#1891)
This was brought up by codeofdusk@gmail.com on the python-dev list.
2021-03-23 11:14:13 -07:00
Sean Lockwood c9f4cf2e8b
PEP 636 typo fix (#1849)
Fix minor typo:
"But **_ would be redundant, so it not allowed."
--> "But **_ would be redundant, so it is not allowed."
2021-02-27 14:28:46 -08:00
Naren Santhanam 22114c7ba3
PEP 646: Fix quotes in example (#1843) 2021-02-26 14:13:44 -08:00
Matej Dujava 7d7965bf2d
PEP 636: Add missing colons at the end of case statement (#1815)
Signed-off-by: Matej Dujava <mdujava@kocurkovo.cz>

Co-authored-by: Matej Dujava <mdujava@win.kocurkovo.cz>
2021-02-13 07:58:28 -08:00
Gus Monod 1d68240e87
PEP 646: Fix typo in the example code (#1808) 2021-02-09 07:38:54 -08:00
Brandt Bucher 604b51399c
PEP 634/635/636: Accept! (#1807) 2021-02-08 16:37:04 -08:00
Marti Raudsepp 9b64c6ea75
Various typo/grammar/style fixes (#1789)
Changes detected by Topy (https://github.com/intgr/topy), all changes
verified by hand, false positives have been omitted.

These range from straight-out misspellings to debatable hyphen placement.
The hyphen changes are supported by grammar manuals of style.
2021-02-03 06:06:23 -08:00
Miroslav Šedivý 45fdc844dd
Typos: Remove repeated words (#1726) 2020-12-04 09:51:44 -08:00
Eric V. Smith 50a31d14b4
PEP 636: Fix incorrect wording (#1705) 2020-11-02 15:47:52 -08:00
Eric V. Smith 954e0dc7b2 Fix trivial typo. 2020-11-02 11:29:00 -05:00
Guido van Rossum f72d3d61bc PEP 634, 635, 636: Update Post-History 2020-10-31 13:43:32 -07:00
Daniel F Moisset e52ed7f4df
PEP 636: Fix mistake caught by @merwok (#1678) 2020-10-23 07:42:51 -07:00
Daniel F Moisset 8fba056c41
PEP 636: Add section on built-in class patterns and qualified names (#1673)
Some rearranging of sections to connect the story more
linearly after adding the new sections.

Minor editorial updates
2020-10-22 16:35:30 -07:00
Guido van Rossum 48e95e4767 PEP 636: Remove 'incomplete draft' note
It's not quite complete but close enough
2020-10-21 18:54:07 -07:00
Daniel F Moisset 5f9a50d3d4
PEP-636: complete missing sections and update TLDR appendix (#1658) 2020-10-20 16:51:36 -07:00
Davis Schenkenberger 6605d7b4e9
PEP 636: Fixed spelling error (#1642) 2020-10-15 17:24:31 -07:00
Guido van Rossum 481752e211 PEP 636: fix typos
Thanks @nschneid
2020-10-13 21:15:04 -07:00
Guido van Rossum 1d43bca863
PEP 636: Add Appendix A -- Quick Intro (#1646) 2020-10-13 09:04:48 -07:00
Guido van Rossum 0c87b5a018
PEP 634, PEP 635, PEP 636: Split PEP 622 in three parts (#1598) 2020-10-01 17:04:25 -07:00