PEP 275 – Switching on Multiple Values | peps.python.org
This PEP proposes strategies to enhance Python’s performance with respect to handling switching on a single variable having one of multiple possible values.