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: mlens/mlens/externals/joblib/func_inspect.py
imports: from itertools import islice
  import inspect
  import warnings
  import re
  import os
  from ._compat import _basestring
  from .logger import pformat
  from ._memory_helpers import open_py_source
  from ._compat import PY3_OR_LATER
label_desc: Use image node_id 8 for calling a global function with example usage: _format_arg(arg) and returns: formatted_arg