def __getitem__(self, k):
        try:
            ival = dict.__getitem__(self, k.path)
        except __HOLE__:
            raise KeyError('seq not in dict')
        result = k * ival # RETURN INTERSECTION OF IVALS
        if result is None:
            raise KeyError # PROPER WAY TO SIGNAL KEY MAPS TO NO VALUE
        return result
dataset/ETHPy150Open cjlee112/pygr/pygr/sequence.py/SeqFilterDict.__getitem__