code: def use_cloudpickle():
      """use cloudpickle to expand serialization support
  
      adds support for object methods and closures to serialization.
      """
      import cloudpickle
  
      global pickle
      pickle = cloudpickle
  
      try:
          from ipykernel import serialize
      except ImportError:
          pass
      else:
          serialize.pickle = cloudpickle
  
      # disable special function handling, let cloudpickle take care of it
      can_map.pop(FunctionType, None)
  
imports: import warnings
  import copy
  import sys
  from types import FunctionType
  from ipython_genutils import py3compat
  from ipython_genutils.importstring import import_item
  from ipython_genutils.py3compat import string_types, iteritems, buffer_to_bytes, buffer_to_bytes_py2
  from traitlets.log import get_logger
label_desc: Use image node_id 4 for calling a global function with example usage: use_cloudpickle() without return types