Return a decorator which would borrow docstring for **kwargs
Parameters : | methodname : None or str
exclude : None or list of arguments to exclude
|
---|
Notes
TODO: take care about *args in a clever way if those are also present
Examples
In the simplest scenario – just grab all arguments from parent class:
@borrowkwargs(A)
def met1(self, bu, **kwargs):
pass