code: def _history():
      "Prefilled history."
      history = InMemoryHistory()
      history.append_string("alpha beta gamma delta")
      history.append_string("one two three four")
      return history
  
file_path: catboost/contrib/python/prompt-toolkit/py3/tests/test_yank_nth_arg.py
imports: from __future__ import annotations
  import pytest
  from prompt_toolkit.buffer import Buffer
  from prompt_toolkit.history import InMemoryHistory
label_desc: Use image node_id 1 for calling a global function with example usage: _history() and returns: history