def __call__(self, *args, **kwargs):
        # If the function args cannot be used as a cache hash key, fail fast
        key = cPickle.dumps((args, kwargs))
        try:
            return self.cache[key]
        except __HOLE__:
            value = self.func(*args, **kwargs)
            self.cache[key] = value
            return value
dataset/ETHPy150Open BrightcoveOS/Diamond/src/collectors/elb/elb.py/memoized.__call__