class_docstr: Default clipboard implementation.
  Just keep the data in memory.
  
  This implements a kill-ring, for Emacs mode.
code: def __init__(
      self, data: ClipboardData | None = None, max_size: int = 60
  ) -> None:
      assert max_size >= 1
  
      self.max_size = max_size
      self._ring: deque[ClipboardData] = deque()
  
      if data is not None:
          self.set_data(data)
  
file_path: catboost/contrib/python/prompt-toolkit/py3/prompt_toolkit/clipboard/in_memory.py
imports: from __future__ import annotations
  from collections import deque
  from .base import Clipboard, ClipboardData
label_desc: Use image node_id 1 to create a new InMemoryClipboard object from inherited base classes: Clipboard with example: obj = InMemoryClipboard(data, max_size)