code: def getline(filename, lineno, module_globals=None):
      """Get a line for a Python source file from the cache.
      Update the cache if it doesn't contain an entry for this file already.
      """
  
      lines = getlines(filename, module_globals)
      if 1 <= lineno <= len(lines):
          return lines[lineno - 1]
      return ""
  
file_path: catboost/contrib/tools/python3/src/Lib/linecache.py
imports: import functools
  import sys
  import os
  import tokenize
label_desc: Use image node_id 2 for calling a global function with example usage: getline(filename, lineno, module_globals) and returns: str, lines