def _pair_to_dict_tuple(pair):
    number, name = pair.split('=')
    if PY2:
        name = name.encode('utf-8')
    number = int(number)
    return (name, number)
Matches a single element by its index::
dataset/ETHPy150Open EducationalTestingService/skll/skll/utilities/skll_convert.py/_pair_to_dict_tuple--crossover with--dataset/ETHPy150Open gawel/pyquery/pyquery/cssselectpatch.py/JQueryTranslator.xpath_eq_function