code: def copy_doc(klass, fnname):
      
      base_meth, base_func = __get_meth_func(klass.__base__, fnname)
      meth, func = __get_meth_func(klass, fnname)
      func.__doc__ = base_func.__doc__
docs: Copies documentation string of a method from the super class into the
      rewritten method of the given class