code: def _quote(arg, indent, out):
      """
      Work around NumPy ndarray not supporting reproducible repr.
      """
      if arg.size >= quote.printoptions["threshold"]:
          data = "..." + " x ".join(str(d) for d in arg.shape) + "..."
      else:
          data = repr(arg.tolist())
      out.append((indent, f"np.array({data}, dtype=np.{arg.dtype})"))
  
imports: import functools
  import inspect
  import pprint
  import re
  import sys
  import numpy
label_desc: Use image node_id 10 for calling a global function with example usage: _quote(arg, indent, out) without return types