code: def prepend_to_path(dir):
      os.environ["PATH"] = (
          dir + os.pathsep + os.environ.get("PATH", os.defpath)
      )
  
file_path: catboost/contrib/python/testpath/py3/testpath/commands.py
imports: import contextlib
  import json
  import os
  import shutil
  import sys
  import tempfile
label_desc: Use image node_id 2 for calling a global function with example usage: prepend_to_path(dir) without return types