code: def doc_apply(doc):
      """Set `__doc__` attribute of `func` to `doc`."""
  
      def wrapper(func):
          func.__doc__ = doc
          return func
  
      return wrapper
  
imports: import functools
  import re
  import string
label_desc: Use image node_id 5 for calling a global function with example usage: doc_apply(doc) and returns: wrapper, func