class_docstr: Limited size mapping, evicting the least recently looked-up key when full
class_docstr_tok: ["Limited","size","mapping",",","evicting","the","least","recently","looked-up","key","when","full"]
code: def __init__(self, maxsize: float) -> None:
      super().__init__()
      self.data = OrderedDict()
      self.maxsize = maxsize
  
imports: from __future__ import annotations
  import heapq
  import itertools
  import weakref
  from collections import OrderedDict, UserDict
  from collections.abc import Callable, Hashable, Iterable, Iterator, Mapping, MutableSet
  from typing import Any, TypeVar, cast
label_desc: Use image node_id 1 to create a new LRU object from inherited base classes: UserDict with example: obj = LRU(maxsize)