
Nov. 3, 2020
4:24 p.m.
On 11/2/20 2:01 PM, Brandt Bucher wrote:
Glenn Linderman wrote:
So what _is_ the syntax for "a tuple of two equal values" ?
If you’re asking about PEP 634:
``` case x, y if x == y: ```
Which is much clearer, in my opinion.
Yeah, I've come 'round to this opinion as well. Let's get basic pattern matching in (by which I mean PEPs 634-636) and we can add bells and whistles later if there is need/demand for it. -- ~Ethan~