Commit Graph

64 Commits

Author SHA1 Message Date
Guido van Rossum a39035a22e PEP 622: Don't use "ADT" for "algebraic data types"
ADT already means Abstract Data Types (a different concept).
2020-06-24 18:18:00 -07:00
Guido van Rossum 33788eb974 PEP 622: Explain why * and ... don't make good wildcards
(And hint that ? is a little better but still worse than _.)
2020-06-24 17:39:22 -07:00
Guido van Rossum 8f43d3ef64 PEP 622: Clarify the status of True, False and None as literals 2020-06-24 17:39:14 -07:00
Guido van Rossum 1560745bdc PEP 622: Show Point(x=1, y=2) in class pattern section 2020-06-24 17:39:04 -07:00
Miroslav Šedivý a4a3b8f1dc
PEP 622: Fix Typos (#1457) 2020-06-24 17:25:13 -07:00
Guido van Rossum 410ba6dd48 PEP 622: drop restriction on ._ an _.a 2020-06-24 07:46:54 -07:00
Swastik Baranwal 5d2dc3fb23
PEP 622: fix typo (#1460) 2020-06-23 22:15:47 -07:00
Guido van Rossum 8fd28e1e94 PEP 622: Clarifications that came up on python-dev
- State that `case` is also a soft keyword
- Triple-quoted strings are supported
- Clarify that `__match__` must be a static or class method returning an object or None
- Add two TODOs
- Fix line of dashes
2020-06-23 17:36:54 -07:00
Ethan Furman 9a895d7dce
PEP 622: minor word additions/changes (#1453) 2020-06-23 15:20:24 -07:00
Jürgen Gmach 64b943aaf4
Fix typo (#1456) 2020-06-23 12:38:21 -07:00
Jürgen Gmach d2491d3c2d
Fix typo (#1454) 2020-06-23 12:38:03 -07:00
Jürgen Gmach 070bee535f
Fix typo (#1455) 2020-06-24 05:21:43 +10:00
Oliver Bestwalter 29ddc84b4d
PEP 622: minor typo and grammar fixes (#1452)
M
2020-06-23 11:03:40 -07:00
Guido van Rossum 771b2a8db0
PEP 622: Structural Pattern Matching (Bucher, Kohn, Levkivskyi, GvR, Talin) (#1451) 2020-06-23 08:27:36 -07:00