def index(it, ind):
    return type(it)([it[i] for i in ind])
Check that function(value) equals output.  If output is None,
dataset/ETHPy150Open sympy/sympy/sympy/unify/core.py/index--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/utils/checksums.py/TestUtilsChecksums.check_output