parameters: (
      size: int,
  )
return_statement: return LRUCache(size)
docstring: Return the cache class for the given size.
docstring_summary: Return the cache class for the given size.
docstring_tokens: Return the cache class for the given size .
function: def create_cache(
      size: int,
  ) -> t.Optional[t.MutableMapping[t.Tuple[weakref.ref, str], "Template"]]:
      """Return the cache class for the given size."""
      if size == 0:
          return None
  
      if size < 0:
          return {}
  
      return LRUCache(size)
function_tokens: def create_cache ( size : int , ) -> t . Optional [ t . MutableMapping [ t . Tuple [ weakref . ref , str ] , "Template" ] ] : if size == 0 : return None if size < 0 : return { } return LRUCache ( size )