def _getitem(a, b):
    """Return a[b] or if not found a[type(b)]
    """
    try:
        return a[b]
    except __HOLE__:
        return a[type(b)]
dataset/ETHPy150Open LabPy/lantz/lantz/processors.py/_getitem