code: def copy_docstring(other):
      """
      Decorator that sets ``__doc__`` to ``other.__doc___``.
      """
  
      def wrapper(func):
          func.__doc__ = other.__doc__
          return func
  
      return wrapper
  
imports: import functools
  import re
  import string
label_desc: Use image node_id 4 for calling a global function with example usage: copy_docstring(other) and returns: wrapper, func