code: def quote(arg):
      """
      Serialize an object to text that can be parsed by Python.
  
      This is useful to save intermediate funsors to add to tests.
      """
      out = []
      _quote_inplace(arg, 0, out)
      lines = []
      for indent, line in out:
          if indent + len(line) >= 80:
              line += "  # noqa"
          lines.append(" " * indent + line)
      return "\n".join(lines)
  
imports: import functools
  import inspect
  import pprint
  import re
  import sys
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: quote(arg) and returns: str