code: def shared_docs(parent_function):
      """
      Decorator shares documentation between functions.
  
      Parameters
      ----------
      parent_function : object
          Any object that has documentation.
      """
  
      def decorator(function):
          function.__doc__ = format_docs(function, [parent_function])
          return function
  
      return decorator
  
imports: import re
  from inspect import isfunction
  from abc import ABCMeta
  from six import with_metaclass
  from neupy.utils import AttributeKeyDict
label_desc: Use image node_id 9 for calling a global function with example usage: shared_docs(parent_function) and returns: decorator, function