[Python-ideas] Pattern matching in python function headers