code: def doc_inherit(parent, style="parent"):
      
  
      merge_func = store[style]
      decorator = _DocInheritDecorator
      decorator.doc_merger = staticmethod(merge_func)
      return decorator(parent)
docs: Returns a function/method decorator that, given `parent`, updates the docstring of the decorated
          function/method based on the specified style and the corresponding attribute of `parent`.
  
          Parameters
          ----------
          parent : Union[str, Any]
              The docstring, or object of which the docstring is utilized as the
              parent docstring during the docstring merge.
  
          style : Union[Any, Callable[[str, str], str]], optional (default: "parent")
              A valid inheritance-scheme style ID or function that merges two docstrings.
  
          Returns
          -------
          custom_inherit.DocInheritDecorator
  
          Notes
          -----
          `doc_inherit` should always be used as the inner-most decorator when being used in
          conjunction with other decorators, such as `@property`, `@staticmethod`, etc.