News
But in Python, it’s meant to be used for matching against structures or combinations of types, not just single values. If you want to use a value to execute an action or just return another ...
For the types of functions you're talking about (ie. functions that return multiple values, of different types) I see it slightly differently than you seem to: I see the need/use of out params as ...
The other is to store values to match as keys in a dictionary, then use the values to take an action—e.g., store a function as a value and use the key or some other variable as input.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results