human
Complete the below
def _inherit_doc(cls):

    ''''Decorator for inheriting docstrings from base classes.'
    '''
assistant
#Here is the Python program you requested.
    def func(fn):
        fn.__doc__ = cls.__dict__[fn.__name__].__doc__
        return fn
    return func