code: def __setitem__(self, key, value):
      existing_key = key in self
      super().__setitem__(key, value)
      if existing_key:
          self.move_to_end(key)
      elif len(self) > self.__max_size:
          self.popitem(last=False)
  
imports: import sys
  import copy
  import heapq
  import collections
  import functools
  import numpy
  from scipy._lib._util import MapWrapper
label_desc: Use image node_id 2 for calling the LRUDict obj's underlying member method code with example usage: obj.__setitem__(key, value) without return types