code: def _format_arg(arg):
      formatted_arg = pformat(arg, indent=2)
      if len(formatted_arg) > 1500:
          formatted_arg = "%s..." % formatted_arg[:700]
      return formatted_arg
  
file_path: catboost/contrib/python/joblib/joblib/func_inspect.py
imports: import inspect
  import warnings
  import re
  import os
  import collections
  from itertools import islice
  from tokenize import open
  from .logger import pformat
label_desc: Use image node_id 7 for calling a global function with example usage: _format_arg(arg) and returns: formatted_arg