code: def copydoc(from_, to):
      """Copies the docstring from one function to another.
      Parameters
      ----------
      from_ : any
          The object to copy the docstring from.
      to : any
          The object to copy the docstring to.
      Returns
      -------
      to : any
          ``to`` with the docstring from ``from_``
      """
      to.__doc__ = from_.__doc__
      return to
  
file_path: catalyst/catalyst/utils/sharedoc.py
imports: import re
  from six import iteritems
  from textwrap import dedent
  from toolz import curry
label_desc: Use image node_id 4 for calling a global function with example usage: copydoc(from_, to) and returns: to