In this example code from the PEP:
match shape: case Point(x, y): ... case Rectangle(x0, y0, x1, y1, painted=True):
What is the "painted=True" portion doing? Is it requiring that the painted attribute of the shape object be True in order to match?
-- ~Ethan~