code: def lfu_cache(maxsize=128, typed=False):
      
      if maxsize is None:
          return _cache(_UnboundCache(), typed)
      else:
          return _cache(LFUCache(maxsize), typed)
docs: Decorator to wrap a function with a memoizing callable that saves
      up to `maxsize` results based on a Least Frequently Used (LFU)
      algorithm.