def print_cache(self):

        for item in self:
            name = item.__name__
            myfunc = item
            while hasattr(myfunc, '__wrapped__'):
                if hasattr(myfunc, 'cache_info'):
                    info = myfunc.cache_info()
                    break
                else:
                    myfunc = myfunc.__wrapped__
            else:
                info = None

            print(name, info)
print cache info
dataset/ETHPy150Open sympy/sympy/sympy/core/cache.py/_cache.print_cache