Use functools.wraps
to include docstrings in decorated functions
#356
Labels
enhancement
Addition of new features, or improved functionality of existing features
Milestone
A function wrapped with a decorator will show the decorator's docstring, not the function that we want to see. We can use
functools.wraps
to handle this (see: https://docs.python.org/3/library/functools.html)The text was updated successfully, but these errors were encountered: