News for hackers. Stuff that matters.
Re:PEP 622 – Structural Pattern Matching by cobby on Wednesday June 24, 2020 @11:54AM (#23629419)
How did they implement Point(x, y, _) matching? PEP proposes a special protocol [1] based on __match__ classmethod. Do they do something similar?

[1] https://www.python.org/dev/peps/pep-0622/#runtime

There are no comments on this comment yet.