News

case ["a", value1]: Match against a collection with two values, and place the second value in the capture variable value1. case ["a", *values] : Match against a collection with at least one value.
Rejoice! Gone are the long chains of if…else statements, because switch statements will soon be here — sort of. What the Python gods are actually giving us are match statements. match s… ...