def test_list_based_range_default():
        "list-based switch (default case support for keys from the range)"
        switch = ListBasedSwitch.switch
        x = ''
        for key in case_keys:
            x = switch[key](x[:10])
list-based switch (default case support for keys from the range)
recipes/Python/577864_Fast_elegant_switchcaselike/recipe-577864.py